Receive User Role Details

Hello,

First of all, please apologize for the basic question. My current understanding of auth mechasnisms and Auth0 is shallow.

I am developing a website with user role based features ( e.g. admin panel)

Would there be a way to include the ‘roles’ that I have assigned to specific users in the token emitted by Auth0 ?

I have been through previous thread , mentionning about custom “rules” but topic is now closed and I could not make it work.
Would someone be able to support me in this task? :slight_smile:

Thank you so much in advance.

I followed this tutorial : Login Flow


And finally enabled the custom action here :
Capture2

But as a result, in my received token I don’t see any role element
Capture3

1 Like

Solution found, i was on the wrong tenant >.<

1 Like

Perfect! Glad to hear that!