checkSession() doesn't include user details

I’m using checkSession() to pull a user’s access token on page refresh for my SPA, but the authResult doesn’t include the user’s email, username, etc.

Is it really recommended that I do something like open up an auth0 management API object and query the user profile? That seems like it would quickly hit API call limits.

What am I doing wrong or what is the recommend way of doing this?

Solution: You need to include the scopes.

        scope: "openid profile email"

That is correct! Glad you were able to eventually make it work!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.