diff options
author | Richard van der Hoff <richard@matrix.org> | 2021-01-12 18:19:42 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2021-01-13 20:22:41 +0000 |
commit | 5310808d3bebd17275355ecd474bc013e8c7462d (patch) | |
tree | 51df032cf79426b849ef7c06933ed7aa8a8ca108 /synapse/federation/__init__.py | |
parent | Add a test for UI-Auth-via-SSO (#9082) (diff) | |
download | synapse-5310808d3bebd17275355ecd474bc013e8c7462d.tar.xz |
Give the user a better error when they present bad SSO creds
If a user tries to do UI Auth via SSO, but uses the wrong account on the SSO IdP, try to give them a better error. Previously, the UIA would claim to be successful, but then the operation in question would simply fail with "auth fail". Instead, serve up an error page which explains the failure.
Diffstat (limited to 'synapse/federation/__init__.py')
0 files changed, 0 insertions, 0 deletions