From b8a7d9769206db3181c64793d7814b5262e1a55f Mon Sep 17 00:00:00 2001 From: David Schwilk Date: Tue, 8 Feb 2022 12:29:34 +0100 Subject: [PATCH] Add comma Signed-off-by: David Schwilk --- .../src/main/resources/pages/ditto/basic-placeholders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/src/main/resources/pages/ditto/basic-placeholders.md b/documentation/src/main/resources/pages/ditto/basic-placeholders.md index 8e9bc33212..17906c33cc 100644 --- a/documentation/src/main/resources/pages/ditto/basic-placeholders.md +++ b/documentation/src/main/resources/pages/ditto/basic-placeholders.md @@ -36,7 +36,7 @@ The following placeholders may be used inside the configuration file: |----------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `{%raw%}{{ jwt: }}{%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`.
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.