score:0

Accepted answer

as we discussed here in the auth0-react's github, here is the maintainer answers:

any scope you set in the provider or when calling loginwithredirect will be appended to the configured default scopes, which are set to openid profile email by default.

as documented in advanced options, if you do not want those default scope, you can override them by using:

<auth0provider  advancedoptions={{defaultscope: ''}}>...</auth0provider>

keep in mind, openid will always be added, regardless of what you use as defaultscope, because it is required.


Related Query

More Query from same tag