Need help with ReactJS authorization extensione example

Hi,

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 Auth0 Configuration (SPAs + API) 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