Hi,
If I set the scope in Auth0Provider the login url still has the default scopes included.
My code:
<Auth0Provider scope="user-read-email" ...
The login url:
...?scope=openid%20profile%20email%20user-read-email...
Is there a way to remove openid, profile and email?
Hi @chxry,
The React SDK will always send the default scopes along with any scopes you pass in the scope
parameter passed to the Auth0Provider
. You can alter the default scopes by passing advancedOptions: { defaultScope: 'openid email' }
to the Auth0Provider
: https://auth0.github.io/auth0-react/interfaces/auth0_provider.auth0provideroptions.html#advancedoptions
At least openid
and email
will be required for authentication in most cases though.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.