anonymousland-synapse/tests
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
..
api Remove redundant mocking 2020-12-02 17:53:38 +00:00
app Remove spurious "SynapseRequest" result from `make_request" 2020-12-15 22:35:40 +00:00
appservice Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
config Fix validate_config on nested objects (#9054) 2021-01-08 14:23:04 +00:00
crypto Add type hints to the crypto module. (#8999) 2021-01-04 10:04:50 -05:00
events Implement MSC2176: Updated redaction rules (#8984) 2021-01-05 07:41:48 -05:00
federation Fix RoomDirectoryFederationTests and make them actually run (#8998) 2020-12-30 19:27:32 +00:00
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 Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
module_api Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
push Convert internal pusher dicts to attrs classes. (#8940) 2020-12-16 11:25:30 -05:00
replication lint 2020-12-15 22:35:50 +00:00
rest Add an admin API endpoint to protect media. (#9086) 2021-01-15 11:18:09 -05:00
scripts Port register_new_matrix_user to Python 3 and add tests (#4085) 2018-10-26 22:05:22 +11:00
server_notices Remove spurious "SynapseRequest" result from `make_request" 2020-12-15 22:35:40 +00:00
state Fix mainline ordering in state res v2 (#8971) 2020-12-18 15:00:34 +00:00
storage Add background update for add chain cover index (#9029) 2021-01-14 15:18:27 +00:00
test_utils Preparatory refactoring of the SamlHandlerTestCase (#8938) 2020-12-15 20:56:10 +00:00
util Fix event chain bg update. (#9118) 2021-01-14 18:57:32 +00:00
__init__.py Move patch_inline_callbacks into synapse/ 2019-10-10 10:53:06 +01:00
server.py Add a test for UI-Auth-via-SSO (#9082) 2021-01-13 20:21:55 +00:00
test_distributor.py Run black. 2018-08-10 23:54:09 +10:00
test_event_auth.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_federation.py Various clean-ups to the logging context code (#8935) 2020-12-14 14:19:47 -05:00
test_mau.py Merge remote-tracking branch 'origin/erikj/as_mau_block' into develop 2020-12-18 09:51:56 +00:00
test_metrics.py move DeferredCache into its own module 2020-10-14 23:38:14 +01:00
test_phone_home.py Allow background tasks to be run on a separate worker. (#8369) 2020-10-02 08:23:15 -04:00
test_preview.py Skip unit tests which require optional dependencies (#9031) 2021-01-07 11:41:28 +00:00
test_server.py Remove spurious "SynapseRequest" result from `make_request" 2020-12-15 22:35:40 +00:00
test_state.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
test_terms_auth.py Remove spurious "SynapseRequest" result from `make_request" 2020-12-15 22:35:40 +00:00
test_test_utils.py Run black. 2018-08-10 23:54:09 +10:00
test_types.py Add basic domain validation for DomainSpecificString.is_valid. (#9071) 2021-01-13 07:05:16 -05:00
test_visibility.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
unittest.py Skip unit tests which require optional dependencies (#9031) 2021-01-07 11:41:28 +00:00
utils.py remove unused DeferredMockCallable 2020-12-02 18:38:29 +00:00