Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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 of updating a {ENTITY NAME}, you have to specify the following properties:

Property

Data Type

Mandatory

Example

Description

Role claim

String

(tick)

roles

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

Format

Drop Down

(tick)

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"
}
  • No labels