forked from MirrorHub/synapse
This PR adds the missing user_mapping_provider section in oidc.md Signed-off-by: Christopher Rücker chris-ruecker@protonmail.com
This commit is contained in:
parent
a03d71dc9d
commit
bce0c91d9a
2 changed files with 5 additions and 0 deletions
1
changelog.d/9057.doc
Normal file
1
changelog.d/9057.doc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add missing user_mapping_provider configuration to the Keycloak OIDC example. Contributed by @chris-ruecker.
|
|
@ -158,6 +158,10 @@ oidc_config:
|
||||||
client_id: "synapse"
|
client_id: "synapse"
|
||||||
client_secret: "copy secret generated from above"
|
client_secret: "copy secret generated from above"
|
||||||
scopes: ["openid", "profile"]
|
scopes: ["openid", "profile"]
|
||||||
|
user_mapping_provider:
|
||||||
|
config:
|
||||||
|
localpart_template: "{{ user.preferred_username }}"
|
||||||
|
display_name_template: "{{ user.name }}"
|
||||||
```
|
```
|
||||||
### [Auth0][auth0]
|
### [Auth0][auth0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue