MatrixSynapse/synapse
Richard van der Hoff 9de6b94117
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.
2021-01-15 16:55:29 +00:00
..
_scripts
api Kill off `HomeServer.get_ip_from_request()` (#9080) 2021-01-12 12:48:12 +00:00
app Split OidcProvider out of OidcHandler (#9107) 2021-01-14 13:29:17 +00:00
appservice
config Land support for multiple OIDC providers (#9110) 2021-01-15 16:55:29 +00:00
crypto
events Remote dependency on distutils (#9125) 2021-01-15 15:59:20 +00:00
federation Support routing edu's to multiple instances (#9042) 2021-01-07 18:07:28 +00:00
groups
handlers Land support for multiple OIDC providers (#9110) 2021-01-15 16:55:29 +00:00
http Avoid raising the body exceeded error multiple times. (#9108) 2021-01-15 11:00:13 -05:00
logging Add type hints to the logging context code. (#8939) 2021-01-05 08:06:55 -05:00
metrics
module_api
push Improve the performance of calculating ignored users in large rooms (#9024) 2021-01-07 13:03:38 +00:00
replication Allow running sendToDevice on workers (#9044) 2021-01-07 20:19:26 +00:00
res Give the user a better error when they present bad SSO creds 2021-01-13 20:22:41 +00:00
rest Add an admin API endpoint to protect media. (#9086) 2021-01-15 11:18:09 -05:00
server_notices
spam_checker_api
state
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Add type hints to media rest resources. (#9093) 2021-01-15 10:57:37 -05:00
streams
util Remote dependency on distutils (#9125) 2021-01-15 15:59:20 +00:00
__init__.py 1.25.0 2021-01-13 10:19:12 +00:00
event_auth.py
notifier.py Fix "Starting metrics collection from sentinel context" errors (#9053) 2021-01-08 14:33:53 +00:00
python_dependencies.py
secrets.py
server.py Remove user's avatar URL and displayname when deactivated. (#8932) 2021-01-12 16:30:15 -05:00
types.py Add basic domain validation for `DomainSpecificString.is_valid`. (#9071) 2021-01-13 07:05:16 -05:00
visibility.py