diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-15 00:27:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 00:27:13 +0000 |
commit | 14950a45d6ff3a5ea737322af1096a49b079f2eb (patch) | |
tree | 7996db7cbf75bf5ce1204acda9f52e7409391b04 /synapse/res | |
parent | Fix event chain bg update. (#9118) (diff) | |
parent | Add a test for wrong user returned by SSO (diff) | |
download | synapse-14950a45d6ff3a5ea737322af1096a49b079f2eb.tar.xz |
Merge pull request #9091 from matrix-org/rav/error_on_bad_sso
Give the user a better error when they present bad SSO creds
Diffstat (limited to 'synapse/res')
-rw-r--r-- | synapse/res/templates/sso_auth_bad_user.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/synapse/res/templates/sso_auth_bad_user.html b/synapse/res/templates/sso_auth_bad_user.html new file mode 100644 index 0000000000..3611191bf9 --- /dev/null +++ b/synapse/res/templates/sso_auth_bad_user.html @@ -0,0 +1,18 @@ +<html> +<head> + <title>Authentication Failed</title> +</head> + <body> + <div> + <p> + We were unable to validate your <tt>{{server_name | e}}</tt> account via + single-sign-on (SSO), because the SSO Identity Provider returned + different details than when you logged in. + </p> + <p> + Try the operation again, and ensure that you use the same details on + the Identity Provider as when you log into your account. + </p> + </div> + </body> +</html> |