Show last authors
1 [[Synapse>>https://github.com/matrix-org/synapse]] the reference implementation of the server side version of [[the Matrix protocol>>https://matrix.org]].
2
3 It has sopport for authenticating on an OIDC provider.
4
5 Here is an example on how to configure Synapse (1.26+) to authenticate on XWiki OIDC provider:
6
7 {{code language="yaml"}}
8 oidc_providers:
9 - idp_id: adm
10 idp_name: "Name of my server"
11 issuer: "https://myxwikihost/xwiki/oidc/"
12 client_id: "matrix"
13 # Needed until https://github.com/matrix-org/synapse/issues/9212 is fixed
14 client_secret: "dontcare"
15 scopes: ["openid", "profile", "email"]
16 user_profile_method: "userinfo_endpoint"
17 user_mapping_provider:
18 config:
19 localpart_template: "{{ user.preferred_username }}"
20 display_name_template: "{{ user.name }}"
21 {{/code}}
22
23 See https://github.com/matrix-org/synapse/blob/develop/docs/openid.md for more details about Synapse OIDC support.

Get Connected