mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-03 09:10:50 -05:00
Authentik OpenID minor doc update (#12275)
This commit is contained in:
parent
5859e2fe0c
commit
61aae18d45
1
changelog.d/12275.doc
Normal file
1
changelog.d/12275.doc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Corrected Authentik OpenID typo, added helpful note for troubleshooting. Contributed by @IronTooch.
|
@ -225,6 +225,8 @@ oidc_providers:
|
|||||||
3. Create an application for synapse in Authentik and link it to the provider.
|
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.
|
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:
|
Synapse config:
|
||||||
```yaml
|
```yaml
|
||||||
oidc_providers:
|
oidc_providers:
|
||||||
@ -240,7 +242,7 @@ oidc_providers:
|
|||||||
- "email"
|
- "email"
|
||||||
user_mapping_provider:
|
user_mapping_provider:
|
||||||
config:
|
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.
|
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.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user