synapse-product/synapse/rest/client/v2_alpha
Richard van der Hoff 789d9ebad3
UI Auth via SSO: redirect the user to an appropriate SSO. (#9081)
If we have integrations with multiple identity providers, when the user does a UI Auth, we need to redirect them to the right one.

There are a few steps to this. First of all we actually need to store the userid of the user we are trying to validate in the UIA session, since the /auth/sso/fallback/web request is unauthenticated.

Then, once we get the /auth/sso/fallback/web request, we can fish the user id out of the session, and use it to look up the external id mappings, and hence pick an SSO provider for them.
2021-01-12 17:38:03 +00:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py Do not convert async functions to Deferreds in the interactive_auth_handler (#7944) 2020-07-24 09:43:49 -04:00
account_data.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
account_validity.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
account.py UI Auth via SSO: redirect the user to an appropriate SSO. (#9081) 2021-01-12 17:38:03 +00:00
auth.py UI Auth via SSO: redirect the user to an appropriate SSO. (#9081) 2021-01-12 17:38:03 +00:00
capabilities.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
devices.py Kill off HomeServer.get_ip_from_request() (#9080) 2021-01-12 12:48:12 +00:00
filter.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
groups.py Check if group IDs are valid before using them. (#8977) 2020-12-30 08:39:59 -05:00
keys.py Kill off HomeServer.get_ip_from_request() (#9080) 2021-01-12 12:48:12 +00:00
notifications.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
openid.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
password_policy.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
read_marker.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
receipts.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
register.py UI Auth via SSO: redirect the user to an appropriate SSO. (#9081) 2021-01-12 17:38:03 +00:00
relations.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
report_event.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_keys.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
room_upgrade_rest_servlet.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
sendtodevice.py Validate input parameters for the sendToDevice API. (#8975) 2020-12-29 12:47:45 -05:00
shared_rooms.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
sync.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
tags.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
thirdparty.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
tokenrefresh.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
user_directory.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00