diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-15 16:55:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 16:55:29 +0000 |
commit | 9de6b9411750c9adf72bdd9d180d2f51b89e3c03 (patch) | |
tree | 5cb71406763e91c4bf33e2e45141721391d5eaff /synapse/config/cas.py | |
parent | Add an admin API endpoint to protect media. (#9086) (diff) | |
download | synapse-9de6b9411750c9adf72bdd9d180d2f51b89e3c03.tar.xz |
Land support for multiple OIDC providers (#9110)
This is the final step for supporting multiple OIDC providers concurrently. First of all, we reorganise the config so that you can specify a list of OIDC providers, instead of a single one. Before: oidc_config: enabled: true issuer: "https://oidc_provider" # etc After: oidc_providers: - idp_id: prov1 issuer: "https://oidc_provider" - idp_id: prov2 issuer: "https://another_oidc_provider" The old format is still grandfathered in. With that done, it's then simply a matter of having OidcHandler instantiate a new OidcProvider for each configured provider.
Diffstat (limited to 'synapse/config/cas.py')
-rw-r--r-- | synapse/config/cas.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/cas.py b/synapse/config/cas.py index 2f97e6d258..c7877b4095 100644 --- a/synapse/config/cas.py +++ b/synapse/config/cas.py @@ -40,7 +40,7 @@ class CasConfig(Config): self.cas_required_attributes = {} def generate_config_section(self, config_dir_path, server_name, **kwargs): - return """ + return """\ # Enable Central Authentication Service (CAS) for registration and login. # cas_config: |