Overview
This article details how to include permissions assigned to users via RBAC in the access token.
Applies To
- Role-based access control (RBAC)
- Access Token
Solution
There is a built-in setting that can be used, which, if enabled, will add permissions to the access token.
Enable it via the following steps:
- Navigate to the dashboard.
- Go to Applications > APIs.
- Select the desired API.
- Under the Settings tab scroll down to the RBAC Settings section.
- Enable the Add Permissions in the Access Token toggle.
Once enabled, an array of the user’s permissions will be present in the permissions claim of the access token.