Context Data String Custom Claim
Description
A custom context data string claim.
May be used by
Properties
Context Data Name (
contextDataName) Description
The context data field that should be included in the claim. If the value is missing or is not of type string, the claim will not be included in the response.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Claim Name (
claimName) Description
The name (JSON key) of the claim.
Attention: If a custom claim with this same claim name already exists, it will result in a runtime error.
Using a registered claim name (see RFC 7519) might cause the claim to be ignored or an exception to be thrown.
Attributes
String
Mandatory
Example
firstname
Example
street
Example
zip
Example
country
Example
roles
Claim Condition (
claimCondition) Description
This custom claim will only be added to the issued token if the configured condition is satisfied.
If no condition is configured, the custom claim will always be added.
Attributes
Plugin-Link
Optional
Assignable plugins
YAML Template (with default values)
type: CustomContextDataStringClaim
id: CustomContextDataStringClaim-xxxxxx
displayName:
comment:
properties:
claimCondition:
claimName:
contextDataName: