website/integrations: fix synapse docs based on upstream docs
closes #2080 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
0181361efa
commit
4817126811
|
@ -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
|
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
|
```yaml
|
||||||
oidc_providers:
|
oidc_providers:
|
||||||
- idp_id: authentik
|
- idp_id: authentik
|
||||||
|
@ -45,6 +49,6 @@ oidc_providers:
|
||||||
- "email"
|
- "email"
|
||||||
user_mapping_provider:
|
user_mapping_provider:
|
||||||
config:
|
config:
|
||||||
localpart_template: "{{ '{{ user.name }}' }}"
|
localpart_template: "{{ user.preferred_username }}}"
|
||||||
display_name_template: "{{ '{{ user.name|capitalize }}' }}"
|
display_name_template: "{{ user.name|capitalize }}"
|
||||||
```
|
```
|
||||||
|
|
Reference in a new issue