-
Notifications
You must be signed in to change notification settings - Fork 92
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
Specify JWT scope #29
Milestone
Comments
I think it has to go into the authenticate call: passport.authenticate('auth0', {
clientID: conf.AUTH0.CLIENT_ID,
domain: conf.AUTH0.DOMAIN,
redirectUri: conf.AUTH0.CALLBACK_URL,
audience: 'https://' + conf.AUTH0.DOMAIN + '/userinfo',
responseType: 'code',
scope: 'openid profile user_metadata app_metadata'
}), |
For anyone looking for this now ... the sample above is correct in terms of where scopes go. These must be OIDC standard scopes, which |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey
Is there a way to specify the scope for JWT in order to include more details from the id_token ?
Thanks
The text was updated successfully, but these errors were encountered: