-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove unnecessary UX steps when Synapse is configured only to allow SSO login. #16434
Comments
Related: #12551 |
This is a very edge case things as users are often allowed to switch the server they connect to so automatically bouncing them would prevent that. The welcome page can be tweaked to skip half of the steps as done by Mozilla; https://chat.mozilla.org/#/welcome |
This is true for app.element.io etc. - it's not true for company-deployed instances which almost always have a very hard requirement of being as simple as possible for getting their employees into the chat. It feels suboptimal to force people to bookmark https://chat.acme.horse/#/start_sso - I guess what I'd like to see is a config option that sees all Acme employees navigate to https://chat.acme.horse and be redirected to SSO without any flashes or glitches as Element shuffles them around between pages. |
Maybe this needs combining with an option that says that "this is a single-homeserver deployment of Element" (I think we already have something like this?) |
On a technical level it is easy, if you're happy to define the edge cases like what happens if such a configured Element is pointed at a Synapse which later gains either multiple SSO options or also username+password |
I think people hosting an Element instance break into two categories:
The more I think about it, the more I think that when people deploy a vanilla Element Web instance themselves (i.e. without making any changes), by far the most common reason is to brand it, and branded instances will almost always be primarily for connecting to the brand's homeserver instance. So I think it's okay to say that category 2 people would be expected to manage their Element experience in lockstep with their Synapse config. |
That doesn't answer the question of what if Element says SSO-only but Synapse says no-SSO or SSO+Username&Password |
Sorry - I was trying to answer that question 😄 If the Element instance and the homeserver are mismatched, then the category 2 admin has done a bad job. If the experience were the same as navigating to https://app.element.io/#/start_sso (i.e. some json complaining at you) then I think that would be fine. |
I think the tension here arises from two components:
I had more words written here, but it was taking too long to hammer them into shape :) |
On my instance of Element I can't even get the |
|
Thanks, I see, but why does it not work correctly? |
Can't tell you based on chat.example.com - https://chat.mozilla.org/#/start_sso works just fine |
I found the issue. Guest access has to enabled, i.e. I need to have "disable_guests": false in Element's allow_guest_access: true in Synapse's Is this a bug? Should I open a new ticket? |
Travis added a thing for this: |
Problem:
Potential Solution:
The text was updated successfully, but these errors were encountered: