From 481712681135d816536999e97d813685cf84d659 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 10 Jan 2022 20:19:56 +0100 Subject: [PATCH] website/integrations: fix synapse docs based on upstream docs closes #2080 Signed-off-by: Jens Langhammer --- website/integrations/services/matrix-synapse/index.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/website/integrations/services/matrix-synapse/index.md b/website/integrations/services/matrix-synapse/index.md index cce4d85e9..6524595cd 100644 --- a/website/integrations/services/matrix-synapse/index.md +++ b/website/integrations/services/matrix-synapse/index.md @@ -31,6 +31,10 @@ Note the Client ID and Client Secret values. Create an application, using the pr Add the following block to your Matrix config +:::info +For more info, see https://matrix-org.github.io/synapse/latest/openid.html?highlight=authentik#authentik +::: + ```yaml oidc_providers: - idp_id: authentik @@ -45,6 +49,6 @@ oidc_providers: - "email" user_mapping_provider: config: - localpart_template: "{{ '{{ user.name }}' }}" - display_name_template: "{{ '{{ user.name|capitalize }}' }}" + localpart_template: "{{ user.preferred_username }}}" + display_name_template: "{{ user.name|capitalize }}" ```