Synapse the reference implementation of the server side version of the Matrix protocol.

It has sopport for authenticating on an OIDC provider.

Here is an example on how to configure Synapse (1.26+) to authenticate on XWiki OIDC provider:

oidc_providers:
  - idp_id: adm
   idp_name: "Name of my server"
   issuer: "https://myxwikihost/xwiki/oidc/"
   client_id: "matrix"
   # Needed until https://github.com/matrix-org/synapse/issues/9212 is fixed
   client_secret: "dontcare"
   scopes: ["openid", "profile", "email"]
   user_profile_method: "userinfo_endpoint"
   user_mapping_provider:
     config:
       localpart_template: "{{ user.preferred_username }}"
       display_name_template: "{{ user.name }}"

See https://github.com/matrix-org/synapse/blob/develop/docs/openid.md for more details about Synapse OIDC support.

Tags:
    

Get Connected