I want to add in permissions and roles to the id token in the response. I defined on the authorization extension. I’m using ReactJS for the login.
So I found this example https://auth0.com/docs/architecture-scenarios/spa-api/part-2 to follow.
But no matter how i tried, i can’t seemed to get the response to return permissions that i created in the extension on context.idToken or context.accessToken.
I tested by checking the id_token output in jwt.io and didn’t see any permissions returned. Please let me know where did I go wrong