Auth0 provides two ways to implement role-based access control (RBAC), which you can use in place of or in combination with your API’s own internal access control system:
The Authorization Core feature set matches the functionality of the Authorization Extension, improves performance and scalability, and provides a more flexible RBAC system than the Authorization Extension.Currently, both implement the key features of RBAC and allow you to restrict the custom scopes defined for an API to those that have been assigned to the user as permissions.
You can import new data from or export existing authorization data to a JSON file. This can be useful when moving environments.
Roles and permissions are linked to specific applications. If you export your JSON file and import it into a different environment, you will need to change the client ID for these records.
Go to the Import/Export section by clicking Configuration on the drop-down menu accessible by clicking on your tenant name at the top right of the Authorization Dashboard.
Select Import/Export.
Use this form to copy and paste or edit the JSON data. Then, click either the Import or Export button to begin the import/export process. Here is an example of the JSON file: