How to get the roles a user is assigned to in the dashboard

I’ve seen a number of guides about assigning roles to the idToken based on some rules, but I’m just trying to read the role I manually assigned a user to in the dashboard (as in from going to Users & Roles > Roles > creating a role and assigning a user to it). I don’t want it to be based on any logic, I just want to be able to read that role in my web client in some way, whether it’s in the user profile or idToken, or wherever its available. If there’s even an API specifically to get the roles, I could use that

I just can’t seem to find a way to do that


Welcome to the Community!

Can you expand on what you mean by:

Have you looked at adding it to the token in a custom claim?

I found another post that linked to that same doc, but that was the solution. Thanks!

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