You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw your presentation at ng-conf on Authentication & Authorization. In the presentation your slides clearly show the email from the profile page working however when I use your demo from (step 5) or a stripped down angular app based on https://auth0.com/docs/libraries/auth0-angular-spa (which has several mistakes in the code examples) I don't get email address back in the user$ response.
I see the correct scopes being requested in the app's redirect to auth0 but the response (on my striped down version) returns:
I have tried this with both user-password and google authentication with the same result.
After the redirect back to the application I see the following:
auth0-spa-js.production.esm.js:15 The requested scopes (openid profile email) are different from the scopes of the retrieved token (openid profile read:messages). This could mean that your access token may not include all the scopes that you expect. It is advised to resolve this by either:
- Removing `email` from the scope when requesting a new token.
- Ensuring `email` is returned as part of the requested token's scopes.
@SpikedCola atm I do not have a machine-to-machine API setup on the application. This is just the SPA application portion of the application from step 5
I saw your presentation at ng-conf on Authentication & Authorization. In the presentation your slides clearly show the email from the profile page working however when I use your demo from (step 5) or a stripped down angular app based on https://auth0.com/docs/libraries/auth0-angular-spa (which has several mistakes in the code examples) I don't get email address back in the user$ response.
I see the correct scopes being requested in the app's redirect to auth0 but the response (on my striped down version) returns:
I have tried this with both user-password and google authentication with the same result.
After the redirect back to the application I see the following:
And no email returned in the user's object:
Idk where
read:messages
is coming from, per the warning.I have attempted to set the options on the
AuthModule.forRoot()
to change the default scopes with no luck. Any ideas?The text was updated successfully, but these errors were encountered: