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

Property

Data Type

Mandatory

Example

Description

Role claim

String

roles

The name of the claim where the resources are stored in. Typically either roles, role or groups.

Format

Drop Down

List | Separated

The format

List will result in an string array

Seperated will result in one string, with each resource seperated by the configured seperator

Seperator

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.