summary refs log tree commit diff
path: root/docs/usage/configuration/config_documentation.md
diff options
context:
space:
mode:
authorNathan <nathan.soulier26@gmail.com>2024-10-09 14:21:08 +0200
committerGitHub <noreply@github.com>2024-10-09 12:21:08 +0000
commit05576f0b4b4a1ba5e756cbd1f0a064751f233d83 (patch)
tree0948d7494d8a539292bc95b10fdf76d240d56b56 /docs/usage/configuration/config_documentation.md
parentFix saving of non-RGB thumbnails as PNG (#17736) (diff)
downloadsynapse-05576f0b4b4a1ba5e756cbd1f0a064751f233d83.tar.xz
Added display_name_claim in jwt_config which sets the user's display name upon registration (#17708)
Diffstat (limited to 'docs/usage/configuration/config_documentation.md')
-rw-r--r--docs/usage/configuration/config_documentation.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md

index 29f3528c7e..1de2f68865 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md
@@ -3722,6 +3722,8 @@ Additional sub-options for this setting include: Required if `enabled` is set to true. * `subject_claim`: Name of the claim containing a unique identifier for the user. Optional, defaults to `sub`. +* `display_name_claim`: Name of the claim containing the display name for the user. Optional. + If provided, the display name will be set to the value of this claim upon first login. * `issuer`: The issuer to validate the "iss" claim against. Optional. If provided the "iss" claim will be required and validated for all JSON web tokens. * `audiences`: A list of audiences to validate the "aud" claim against. Optional. @@ -3736,6 +3738,7 @@ jwt_config: secret: "provided-by-your-issuer" algorithm: "provided-by-your-issuer" subject_claim: "name_of_claim" + display_name_claim: "name_of_claim" issuer: "provided-by-your-issuer" audiences: - "provided-by-your-issuer"