Hi @jw-85,
Thank you for your response.
Not really, you’re encouraged to use any middleware or one of the existing open-source third-party libraries to parse and validate JWTs.
To get the ID token claims using the useAuth0()
hook, you will need to use the getIdTokenClaims
method to get the custom claims using the Post-Login Action, as you mentioned earlier. See https://auth0.github.io/auth0-react/interfaces/auth0_context.auth0contextinterface.html#getidtokenclaims.
I’m glad everything works now!
Please let me know if there’s anything else I can do to help.
Thank you.