Authorization Extension roles and permissions not updating

I am trying to set user’s group, role and permissions in Authorization Extension and get them in id_Token, but I only can get groups in jwt. Someone can tell me why?

  context.idToken[namespace + "permissions"] = user.permissions;
  context.idToken[namespace + "groups"] = user.groups;
  context.idToken[namespace + "roles"] = user.roles;
1 Like

I’m going through the same problem right now. Hope some can answer us.

Can someone please answer us?

I deleted the user and created again, then is working.
And maybe check here. https://auth0.com/docs/extensions/authorization-extension/v2/troubleshooting#the-authentication-results-in-a-token-that-contains-groups-information-but-not-roles-or-permissions-information-

1 Like

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