MatrixSynapse/synapse
Richard van der Hoff d2c616a413
Combine the SSO Redirect Servlets (#9015)
* Implement CasHandler.handle_redirect_request

... to make it match OidcHandler and SamlHandler

* Clean up interface for OidcHandler.handle_redirect_request

Make it accept `client_redirect_url=None`.

* Clean up interface for `SamlHandler.handle_redirect_request`

... bring it into line with CAS and OIDC by making it take a Request parameter,
move the magic for `client_redirect_url` for UIA into the handler, and fix the
return type to be a `str` rather than a `bytes`.

* Define a common protocol for SSO auth provider impls

* Give SsoIdentityProvider an ID and register them

* Combine the SSO Redirect servlets

Now that the SsoHandler knows about the identity providers, we can combine the
various *RedirectServlets into a single implementation which delegates to the
right IdP.

* changelog
2021-01-04 18:13:49 +00:00
..
_scripts
api
app
appservice
config Update the value of group_creation_prefix in sample config. (#8992) 2020-12-29 09:30:48 -05:00
crypto
events
federation
groups
handlers Combine the SSO Redirect Servlets (#9015) 2021-01-04 18:13:49 +00:00
http Add a maximum size for well-known lookups. (#8950) 2020-12-16 17:25:24 -05:00
logging
metrics
module_api
push Ensure that a URL exists in the content during push. (#8965) 2020-12-18 07:26:15 -05:00
replication
res
rest Combine the SSO Redirect Servlets (#9015) 2021-01-04 18:13:49 +00:00
server_notices
spam_checker_api
state
static
storage
streams
util
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py
types.py
visibility.py