Getting user roles in rules

Hello @ilona,

That is correct, the roles assigned to a user using that feature (core authorization) are not part of the user’s profile. To access that role data you need to use the management API:

  1. Auth0 Management API v2
  2. Auth0 Management API v2

If you would like to see the core authorization roles in the user profile, I suggest submitting a feature request to Auth0’s feedback page.

3 Likes