-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
SAML2: email validation links from auth0 sometimes fail and give a confusing error #6893
Comments
What seems to be happening here is that auth0 redirects to This isn't a legitimate thing to do in SAML2: I think that sending errors back in URI fragments is an OAuth2 thing, so this seems to be mainly auth0's fault. To mitigate it, we could serve a static page with javascript that displays the error information. (The fact that synapse claims only to support HEAD is #6894) |
This is biting a significant number of people - perhaps everyone who tries to auth via email: https://www.reddit.com/r/firefox/comments/fdplxc/moznet_irc_is_dead_long_live_mozilla_matrix/fjldxdi/ etc I'm unconvinced that it's only affecting expired/invalid links. |
It looks to me like Auth0 has quite a few failure modes when using passwordless auth, each of which has a different behaviour. For example, if the token has expired, then you get the same thing except the error is passed as a query parameter (e.g. Therefore, for now, we're going with a configurable HTML file that tells users "oops, something went wrong", and that they should go back to their Matrix client and try to authenticate again. This was done in #7058, so I'm going to close this issue. |
Also add some JS to it to process any error we might have in the URI (see #6893).
Also add some JS to it to process any error we might have in the URI (see matrix-org#6893).
Steps to reproduce:
The text was updated successfully, but these errors were encountered: