Comments (8)
Console backend login no longer reports an error, but the return value from Machine-to-Machine application requesting Machine-to-Machine is:
{
"message": "未经授权。请检查凭据及其范围。",
"code": "auth.unauthorized",
"data": {
"code": "ERR_JWKS_NO_MATCHING_KEY",
"name": "JWKSNoMatchingKey",
"message": "no applicable key found in the JSON Web Key Set"
}
}
from logto.
Hi @cong5 , could you please elaborate on your setup and how you make M2M requests?
from logto.
Hi @cong5 , could you please elaborate on your setup and how you make M2M requests?
first request https://xxx.shop/oidc/token get access_token:
second request any Logto Management API response this error.
![image](https://private-user-images.githubusercontent.com/5463514/293839504-5c0eb9f8-a086-43e2-923b-70f5c904f0d2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyODYwODksIm5iZiI6MTcxOTI4NTc4OSwicGF0aCI6Ii81NDYzNTE0LzI5MzgzOTUwNC01YzBlYjlmOC1hMDg2LTQzZTItOTIzYi03MGY1YzkwNGYwZDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjVUMDMyMzA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MmRjZmY1NGY4MTFhZWMwMzM0NjAwOGQ0NzUxNTgxNzg5MTE2MTY3ODQ4MGE0ZjMyZWZhMDg3ZTIxMmIwMjkzMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.UCJXAiCIYKHXU1syMlBHtHFMl_Tr8nsupaPZPixIJk4)
from logto.
Are you using a self-hosted OSS version? or you are using Logto Cloud.
from logto.
Are you using a self-hosted OSS version? or you are using Logto Cloud.
using a self-hosted version
from logto.
Did you or someone with access to your Logto localhost change the oidc.privateKeys
after the instance started but before you requested the Logto management API?
from logto.
I can not reproduce your issue on my machine. I started a brand new OSS Logto instance with a new DB, created a m2m app, can hence successfully get the access token and access the management API. It could be helpful if you can provide a step by step guide to reproduce this issue.
from logto.
You can also check whether you have assigned the scope all
to the M2M app via an m2m role.
from logto.
Related Issues (20)
- feature request: documentation for deploying on k8s HOT 1
- feature request: add provisioning capabilities for permissions and resources creation HOT 5
- feature request: support latest node HOT 1
- bug: getUserInfo not working when the access token expires and is refreshed HOT 3
- feature request: Ruby on Rails SDK? HOT 8
- feature request: How to use custom jwt My deployed logto cannot be used, I deployed with docker,Is this feature for a fee? HOT 2
- bug: Newly created user cannot be found by username via user search API HOT 2
- how to configuration dingtalk sso? I would like to achieve the page in the dingtalk to open the implementation of login-free
- feature request: a wrong part of the doc of Nuxt SDK HOT 4
- bug: authorization code not found
- feature request: Support for .NET MAUI or C# in Logto Client Development HOT 2
- bug: Logto sign in flow crashes on Safari 17+, a show stopper bug
- bug: OpenAPI specification is invalid HOT 1
- bug: Admin UI - "Unauthorized. Please check credentials and its scope." HOT 15
- feature request: make clockTolerance configurable HOT 3
- feature request: Allow client to choose if sign-up or sign-in form will be displayed HOT 2
- bug: (Nuxt) no isAuthentiated? HOT 3
- bug: cannot connect twitch oauth2 HOT 5
- bug: Custom JWT Claims not being included in id token claims HOT 5
- feature request: add custom notification connectors support (webhooks instead of Email/SMS) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logto.