mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 17:22:16 -04:00
Improve the sample config for SSO (OIDC, SAML, and CAS). (#8635)
This commit is contained in:
parent
cbc82aa09f
commit
8f1aefa694
5 changed files with 157 additions and 104 deletions
|
@ -87,11 +87,10 @@ class OIDCConfig(Config):
|
|||
|
||||
def generate_config_section(self, config_dir_path, server_name, **kwargs):
|
||||
return """\
|
||||
# OpenID Connect integration. The following settings can be used to make Synapse
|
||||
# use an OpenID Connect Provider for authentication, instead of its internal
|
||||
# password database.
|
||||
# Enable OpenID Connect (OIDC) / OAuth 2.0 for registration and login.
|
||||
#
|
||||
# See https://github.com/matrix-org/synapse/blob/master/docs/openid.md.
|
||||
# See https://github.com/matrix-org/synapse/blob/master/docs/openid.md
|
||||
# for some example configurations.
|
||||
#
|
||||
oidc_config:
|
||||
# Uncomment the following to enable authorization against an OpenID Connect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue