How to create a rule that is based on user’s role where the role is created within Auth0. This role assignment is not adding up to users metadata.
Welcome to the Community!
When you use Auth0 Authorization Core (i.e., assign roles in the dashboard), you can access the user’s roles in rules with context.authorization.roles
(Sample Use Cases: Rules with Authorization).
You may want to consider using a post-login Action instead, in which case you can use event.authorization.roles
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.