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

Commit 5f716fa

Browse files
authored
Add XWiki OIDC provider example. (#9324)
1 parent 3f58fc8 commit 5f716fa

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/openid.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,3 +388,25 @@ oidc_providers:
388388
localpart_template: "{{ user.login }}"
389389
display_name_template: "{{ user.full_name }}"
390390
```
391+
392+
### XWiki
393+
394+
Install [OpenID Connect Provider](https://extensions.xwiki.org/xwiki/bin/view/Extension/OpenID%20Connect/OpenID%20Connect%20Provider/) extension in your [XWiki](https://www.xwiki.org) instance.
395+
396+
Synapse config:
397+
398+
```yaml
399+
oidc_providers:
400+
- idp_id: xwiki
401+
idp_name: "XWiki"
402+
issuer: "https://myxwikihost/xwiki/oidc/"
403+
client_id: "your-client-id" # TO BE FILLED
404+
# Needed until https://github.com/matrix-org/synapse/issues/9212 is fixed
405+
client_secret: "dontcare"
406+
scopes: ["openid", "profile"]
407+
user_profile_method: "userinfo_endpoint"
408+
user_mapping_provider:
409+
config:
410+
localpart_template: "{{ user.preferred_username }}"
411+
display_name_template: "{{ user.name }}"
412+
```

0 commit comments

Comments
 (0)