add matrix_synapse_oidc_enabled and matrix_synapse_oidc_providers vars

This commit is contained in:
Aine
2023-10-02 18:40:15 +03:00
parent 0a4cff56fb
commit 9167a7734e
2 changed files with 10 additions and 2 deletions

View File

@ -2090,9 +2090,9 @@ saml2_config:
# use 'oidc' for the idp_id to ensure that existing users continue to be
# recognised.)
#
oidc_providers:
{% if matrix_synapse_oidc_enabled %}
# Generic example
#
#matrix_synapse_oidc_providers:
#- idp_id: my_idp
# idp_name: "My OpenID provider"
# idp_icon: "mxc://example.com/mediaid"
@ -2116,6 +2116,9 @@ oidc_providers:
# attribute_requirements:
# - attribute: userGroup
# value: "synapseUsers"
oidc_providers:
{{ matrix_synapse_oidc_providers|to_nice_yaml(indent=2, width=999999) }}
{% endif %}
# Enable Central Authentication Service (CAS) for registration and login.