I’m still very new to Auth0, so bear with me.
I’m building a React app and am using Auth0 for authentication and user management. So far, I’ve gotten login and logout working, with both database and Google authentication, and it’s been incredibly painless.
The next step is profile management. Specifically I want to be able to:
- Allow the user to see and update their user profile - their name at the very least
- Allow the user to change their password, if they are a database account
And this is where I’m struggling. I’ve worked out exactly how to do all of this using the Management API directly - both via direct HTTP calls and using
@auth0/auth0-react 1.2.0, and there are calls on there for
getIdTokenClaims. However, neither of the values returned from there are working as a token when passed to the Management API.
Is there a way that I can use
@auth0/auth0-react to log in, and then access and update the full user profile of the user that has just logged in?