Auth0 Home Blog Docs

Authorization Extension roles and permissions not updating

#1

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
#2

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

#3

Can someone please answer us?

#4

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