Skip to content

Commit

Permalink
Add comma
Browse files Browse the repository at this point in the history
Signed-off-by: David Schwilk <david.schwilk@bosch.io>
  • Loading branch information
DerSchwilk committed Feb 8, 2022
1 parent 4ab83c3 commit b8a7d97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following placeholders may be used inside the configuration file:
|----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `{%raw%}{{ jwt:<claim-pointer> }}{%endraw%}` | Any standard or custom claims in the body of the authenticated JWT in JsonPointer notation - e.g., `jwt:sub` for the JWT "subject" or `jwt:extra/roles` for (potentially multiple) "roles" extracted from a JsonObject in the JWT named `extra`.<br/>JWT claims being JSON arrays are expanded (each value of the array is added) and provided [functions](#function-expressions) are performed on each array element. |

In combination with [functions](#function-expressions) use of this placeholder can provide and modify the subjects to
In combination with [functions](#function-expressions), use of this placeholder can provide and modify the subjects to
extract from a JWT in a very powerful way.
The `fn:split(' ')` function may for example be used in order to further split the default claim "scope", which is by
default a whitespace separated list of scopes, as an array, producing multiple entries for each provided scope.
Expand Down

0 comments on commit b8a7d97

Please sign in to comment.