From c2fec561e372c6588b2c420257ac58dc9e4d1b00 Mon Sep 17 00:00:00 2001 From: IronTooch <27360514+IronTooch@users.noreply.github.com> Date: Wed, 23 Mar 2022 11:18:36 -0400 Subject: [PATCH 1/5] Corrected typo (Extra Parenthesis) --- docs/openid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/openid.md b/docs/openid.md index 171ea3b7128b..cdbd7bab4291 100644 --- a/docs/openid.md +++ b/docs/openid.md @@ -240,7 +240,7 @@ oidc_providers: - "email" user_mapping_provider: config: - localpart_template: "{{ user.preferred_username }}}" + localpart_template: "{{ user.preferred_username }}" display_name_template: "{{ user.preferred_username|capitalize }}" # TO BE FILLED: If your users have names in Authentik and you want those in Synapse, this should be replaced with user.name|capitalize. ``` From b93db6bc84a831694c494a5567f6edaebf1f2155 Mon Sep 17 00:00:00 2001 From: IronTooch <27360514+IronTooch@users.noreply.github.com> Date: Wed, 23 Mar 2022 11:19:11 -0400 Subject: [PATCH 2/5] Added helpful troubleshooting note --- docs/openid.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/openid.md b/docs/openid.md index cdbd7bab4291..19cacaafefe0 100644 --- a/docs/openid.md +++ b/docs/openid.md @@ -225,6 +225,8 @@ oidc_providers: 3. Create an application for synapse in Authentik and link it to the provider. 4. Note the slug of your application, Client ID and Client Secret. +Note: RSA keys must be used for signing for Authentik, ECC keys do not work. + Synapse config: ```yaml oidc_providers: From 841008e71369eca28967a2233a2d9a1c856f471b Mon Sep 17 00:00:00 2001 From: IronTooch <27360514+IronTooch@users.noreply.github.com> Date: Wed, 23 Mar 2022 11:23:34 -0400 Subject: [PATCH 3/5] Create 12274.doc --- changelog.d/12274.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/12274.doc diff --git a/changelog.d/12274.doc b/changelog.d/12274.doc new file mode 100644 index 000000000000..4aad9b3f1a02 --- /dev/null +++ b/changelog.d/12274.doc @@ -0,0 +1 @@ +Corrected Authentik OpenID typo, added helpful note for troubleshooting. From c088f10b9c11e4d94671ea9ac6db867776cb18ee Mon Sep 17 00:00:00 2001 From: IronTooch <27360514+IronTooch@users.noreply.github.com> Date: Wed, 23 Mar 2022 11:25:20 -0400 Subject: [PATCH 4/5] Corrected Authentik OpenID Typo --- changelog.d/12274.doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/12274.doc b/changelog.d/12274.doc index 4aad9b3f1a02..2e26ad21eb49 100644 --- a/changelog.d/12274.doc +++ b/changelog.d/12274.doc @@ -1 +1 @@ -Corrected Authentik OpenID typo, added helpful note for troubleshooting. +Corrected Authentik OpenID typo, added helpful note for troubleshooting. Contributed by @IronTooch. From 455e6b0306cef5e12c63419b37bd5906fa908fe3 Mon Sep 17 00:00:00 2001 From: reivilibre Date: Fri, 25 Mar 2022 12:05:24 +0000 Subject: [PATCH 5/5] Rename 12274.doc to 12275.doc --- changelog.d/{12274.doc => 12275.doc} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog.d/{12274.doc => 12275.doc} (100%) diff --git a/changelog.d/12274.doc b/changelog.d/12275.doc similarity index 100% rename from changelog.d/12274.doc rename to changelog.d/12275.doc