MatrixSynapse/synapse/handlers
Richard van der Hoff 28877fade9
Implement a username picker for synapse (#8942)
The final part (for now) of my work to implement a username picker in synapse itself. The idea is that we allow
`UsernameMappingProvider`s to return `localpart=None`, in which case, rather than redirecting the browser
back to the client, we redirect to a username-picker resource, which allows the user to enter a username.
We *then* complete the SSO flow (including doing the client permission checks).

The static resources for the username picker itself (in 
https://github.com/matrix-org/synapse/tree/rav/username_picker/synapse/res/username_picker)
are essentially lifted wholesale from
https://github.com/matrix-org/matrix-synapse-saml-mozilla/tree/master/matrix_synapse_saml_mozilla/res. 
As the comment says, we might want to think about making them customisable, but that can be a follow-up. 

Fixes #8876.
2020-12-18 14:19:46 +00:00
..
ui_auth
__init__.py
_base.py Simplify the flow for SSO UIA (#8881) 2020-12-08 14:03:38 +00:00
account_data.py
account_validity.py
acme.py
acme_issuing_service.py
admin.py
appservice.py Improve appservice handler to send only the most recent read receipts when no stream_id is stored. (#8744) 2020-11-18 18:54:09 +00:00
auth.py Allow re-using a UI auth validation for a period of time (#8970) 2020-12-18 07:33:57 -05:00
cas_handler.py Properly report user-agent/IP during registration of SSO users. (#8784) 2020-11-23 13:28:03 -05:00
deactivate_account.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
device.py
devicemessage.py
directory.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
e2e_keys.py
e2e_room_keys.py
events.py
federation.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
groups_local.py
identity.py Apply an IP range blacklist to push and key revocation requests. (#8821) 2020-12-02 11:09:24 -05:00
initial_sync.py
message.py Try and drop stale extremities. (#8929) 2020-12-18 09:49:18 +00:00
oidc_handler.py Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
pagination.py Add `force_purge` option to delete-room admin api. (#8843) 2020-11-30 16:48:12 +00:00
password_policy.py
presence.py Use TYPE_CHECKING instead of magic MYPY variable. (#8770) 2020-11-17 09:09:40 -05:00
profile.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
read_marker.py
receipts.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
register.py Merge remote-tracking branch 'origin/erikj/as_mau_block' into develop 2020-12-18 09:51:56 +00:00
room.py Do not assume that the contents dictionary includes history_visibility. (#8945) 2020-12-16 08:46:37 -05:00
room_list.py Do not assume that the contents dictionary includes history_visibility. (#8945) 2020-12-16 08:46:37 -05:00
room_member.py Allow spam-checker modules to be provide async methods. (#8890) 2020-12-11 14:05:15 -05:00
room_member_worker.py
saml_handler.py Push login completion down into SsoHandler (#8941) 2020-12-16 20:01:53 +00:00
search.py
set_password.py
sso.py Implement a username picker for synapse (#8942) 2020-12-18 14:19:46 +00:00
state_deltas.py
stats.py
sync.py Add admin API for logging in as a user (#8617) 2020-11-17 10:51:25 +00:00
typing.py Don't unnecessarily start bg process while handling typing. (#8668) 2020-10-27 15:32:19 +00:00
user_directory.py Fix a bug that deactivated users appear in the directory (#8933) 2020-12-17 12:05:39 +00:00