-
- Downloads
Support "identifier" dicts in UIA (#8848)
The spec requires synapse to support `identifier` dicts for `m.login.password` user-interactive auth, which it did not (instead, it required an undocumented `user` parameter.) To fix this properly, we need to pull the code that interprets `identifier` into `AuthHandler.validate_login` so that it can be called from the UIA code. Fixes #5665.
Showing
- changelog.d/8848.bugfix 1 addition, 0 deletionschangelog.d/8848.bugfix
- synapse/handlers/auth.py 161 additions, 24 deletionssynapse/handlers/auth.py
- synapse/rest/client/v1/login.py 2 additions, 105 deletionssynapse/rest/client/v1/login.py
- tests/handlers/test_password_providers.py 1 addition, 10 deletionstests/handlers/test_password_providers.py
- tests/rest/client/v2_alpha/test_auth.py 25 additions, 8 deletionstests/rest/client/v2_alpha/test_auth.py
Loading
Please register or sign in to comment