mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 13:40:41 -05:00
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.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_admin.py | ||
| test_appservice.py | ||
| test_auth.py | ||
| test_cas.py | ||
| test_device.py | ||
| test_directory.py | ||
| test_e2e_keys.py | ||
| test_e2e_room_keys.py | ||
| test_federation.py | ||
| test_message.py | ||
| test_oidc.py | ||
| test_password_providers.py | ||
| test_presence.py | ||
| test_profile.py | ||
| test_register.py | ||
| test_saml.py | ||
| test_stats.py | ||
| test_sync.py | ||
| test_typing.py | ||
| test_user_directory.py | ||