Docs

Assign Roles to Users

Assign Roles to Users

This guide will show you how to assign roles to a user using Auth0's Dashboard. This task can also be performed using the Management API. The assigned roles can be used with the API Authorization Core feature set.

For role-based access control (RBAC) to work properly, you must enable it for your API using either the Dashboard or the Management API.

Authorization Core functionality is different from the Authorization Extension. For a comparison between the two products, see Authorization Core vs. Authorization Extension.

Roles are selected from pre-defined values. If your list of roles is blank, you need to make sure you have created roles.

  1. Navigate to the Users & Roles > Users page in the Auth0 Dashboard.

View Users

  1. Click ... next to the user you want to modify, and select Assign Roles.

Select Assign Roles

  1. Choose the role(s) you wish to assign, then click Assign.

Assign Role

You can also assign roles to users from their individual profile page.

  1. Navigate to the Users & Roles > Users page in the Auth0 Dashboard, and click the name of the user to view.

Select User

  1. Click the Roles view, and click Assign Role.

View Roles

  1. Choose the role you wish to assign, then click Assign.

Assign Role