-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continue with SSO button redirects to /_matrix/static/client/login/ instead of /_matrix/client/r0/login/sso/redirect #1178
Comments
This is specified here: https://matrix.org/docs/spec/client_server/latest#login-fallback Where do you see we should use sso/redirect? |
@babolivier Can you please give back some context |
I was initially confused because the login fallback is expected to be used when a client doesn't recognise a login flow. But RiotX showing the "Continue with SSO" button did lead me to believe that RiotX did recognise the SSO flow, but still acted as if it didn't. This caused UX issues with a previous version of the login fallback, because then the user would have needed to click "Continue with SSO" twice as the fallback also showed a similar button (this has been fixed but only on Synapse, it's not given that other upcoming homeservers will use a login fallback with the same logic).
|
Ok, thanks @babolivier for the clarification, I think I've understand the point :) In the PR #1277, I use the fallback login page to handle the redirection after SSO login. Do you think it is acceptable? It works well, but I will be more confident if you confirm it to me. Thanks! Edit: Also now I see the |
Kamino cloned this issue to vector-im/riot-ios |
I think it is as long as the server serves a fallback page that includes sensible enough logic around SSO (Synapse has that as of matrix-org/synapse#7152) and has a sensible enough auth configuration (in the case of Synapse, not allow anything other than SSO). In any other case, e.g. if the server also allows password login, or if the server isn't Synapse and uses a less elaborate fallback, it will likely create a confusing UX. So it's probably good enough for now though not ideal.
It's been added in the release r0.5.0 of the CS API, so around 10 months ago. Note that this endpoint existed before but was named |
Ok, thanks @babolivier for the feedback. I merge the PR |
FTR the behavior on RiotX has been updated in #1451 |
No description provided.
The text was updated successfully, but these errors were encountered: