Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Keycloak mapping_provider example (#9037) (#9057)
Browse files Browse the repository at this point in the history
This PR adds the missing user_mapping_provider section in oidc.md

Signed-off-by: Christopher Rücker chris-ruecker@protonmail.com
  • Loading branch information
chris-ruecker authored Jan 8, 2021
1 parent a03d71d commit bce0c91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/9057.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing user_mapping_provider configuration to the Keycloak OIDC example. Contributed by @chris-ruecker.
4 changes: 4 additions & 0 deletions docs/openid.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ oidc_config:
client_id: "synapse"
client_secret: "copy secret generated from above"
scopes: ["openid", "profile"]
user_mapping_provider:
config:
localpart_template: "{{ user.preferred_username }}"
display_name_template: "{{ user.name }}"
```
### [Auth0][auth0]

Expand Down

0 comments on commit bce0c91

Please sign in to comment.