String-Array From Subject Token (OAuth 2.0 Token Exchange)
Description
Sets the claim to the configured string-array data value of the subject token.
Only string-array values will be considered. If the referenced subject token data is not an array or if its elements are not all strings, it will be ignored and the claim value will not be set.
If the configured subject token data is not present, is an empty array, or none of its values match a configured pattern, the claim value will not be set.
May be used by
Properties
Subject Token Data Name (
subjectTokenDataName) Description
The subject token claim to use. The referenced value must be a string array.
Attributes
String
Mandatory
Example
aud
Example
claim1
Example
roles
Example
context-data
Value Filters (
valueFilters) Description
An optional list of regular expressions. If the list is configured, only values in the configured subject token data matching at least one of the regular expressions will be added. Claim values that do not match any of the configured regular expressions will be ignored. If the list is not configured, all the values in the configured subject token data will be added.
If the list is configured and none of the subject token data values match any of the configured patterns, the claim value will not be set.
Attributes
RegEx-List
Optional
YAML Template (with default values)
type: OAuth2TokenExchangeJwtSubjectTokenStringArrayClaimValue
id: OAuth2TokenExchangeJwtSubjectTokenStringArrayClaimValue-xxxxxx
displayName:
comment:
properties:
subjectTokenDataName:
valueFilters: