Role claim configuration
Introduction
The resources (permissions) assigned to an user will eventually be issued in the token. On the application level you can define in which claim this should happen. Within the role claim configuration, you can further define the format of those resources. You can add a list of claims and the appropriate format.
Properties
Whenever you are creating an new configuration entry in the UI, you have to provide the following data:
Property | Data Type | Mandatory | Example | Description |
---|---|---|---|---|
| String |
| roles | The name of the claim where the resources are stored in. Typically either roles, role or groups. |
| Drop Down |
| List | Separated | The format
|
| String |
| ; | The separator format |
Examples
List
If you choose List
, an example token will look like this:
{
"roles": [
"Admin",
"PowerUser",
"Read"
]
}
Separated
If you choose Separated
and ,
as the Seperator
, an example token will look like this:
{
"roles": "Admin,PowerUser,Read"
}
© ITSENSE AG. Alle Rechte vorbehalten. ITSENSE und CoreOne sind eingetragene Marken der ITSENSE AG.