-
-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to correctly access scopes in the nextjs server action situation #5781
Labels
Comments
When you call getLogtoContext(logtoConfig, {
getAccessToken,
}); You can also pass the resource indicator as an additional param, like this: getLogtoContext(logtoConfig, {
getAccessToken: true,
resource: 'http://no.com/api'
}); And if you provide the resource when requesting an access token, the access token will be in JWT format, where you can find |
charIeszhao
added
pending-verification
Something is still under investigation
and removed
bug
Something isn't working
labels
Apr 28, 2024
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have configured the Config according to the document.
However, when I call
The result does not include scopes.
I also tried using the
/oidc/me
API, but it didn't return any scopes either.The above is my test case. How can I retrieve user information with the
scopes
parameter included?The text was updated successfully, but these errors were encountered: