-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Initial session is not verified for SSO-based accounts #27657
Comments
We can reproduce this error using OIDC and keycloak. Instructing users to reset and re-verify their passphrase is very difficult. Please let us know if additional logs are needed. |
Hi, we have the same issue using SSO via SAML and verifying the (first) session. I tested the following two scenarios, both times I reset the synapse server (v1.109) and started from scratch, results are identical using Element App or the latest Element web client. Scenario 1: Then I select Sessions --> Verify Session --> Verify with Security Key or Phrase I can either enter the phrase or the key file, click on "continue" and will immediately be thrown back to "Verify with Security Key or Phrase" and I can repeat this on and on in an endless loop and the session won't verify. Then I logout from the session and login again. After the login Element asks for a security phrase, but the saved one does not work and the process is broken. I can fix this only by resetting the security key and after setting a new phrase and new file I am additionally asked to verify my account by "Use Single Sign On to continue", which I do and after that my session is finally verified, but with the newly created key. Scenario 2: So in Scenario 2 everything works as it should, but in Scenario 1 the dialog to "Use Single Sign On to continue" does not appear after trying to verify my current session with the created key. Unfortunately there are no error logs at all in synapse or element-web, only the browser log throws some errors when clicking on "continue" in scenario 1 when I am in the endless loop.
Hope this helps.... Best regards |
Hi, |
Hi there, we have the same problem and very new user on our server runs into this problem since we advise our users to use the element desktop client. We are fighting against commercial tools like WhatsApp and Telegram and need a solution for this problem that works without a complicated series of steps that each user has to take. Are you already working on this issue? What can we do to help? Thanks in advance for your endeavors! |
It looks like this issue is solved in Element-Desktop Version 1.11.70 .. could somebody please verify this? |
Thank you very much for this information. We rechecked with Element 1.11.70: It still didn't work. Upgrading the homeserver to v1.110, however, did the trick. I assume it has to do with: element-hq/synapse#17284. The verification is now set up upon the first login. |
Same here, upgrading synapse to v1.110 solved our issue, thanks to the dev team and thank you guys for the information! |
Closing as fixed on the backend |
Hi, have to jump in here:
We have exactly the same issue. SSO enabled with Microsoft Azure with the exactly same problem like here. We had to use "Reset All" and I've disabled also password option in Synapse to get it working. cu denny |
Steps to reproduce
Outcome
What did you expect?
Your only session should be verified, as it is the case with a non-SSO account on the same server, with the same client:
In this case, the account was created using Element's "register" feature, but the outcome is the same when an account is created server-side (through the admin API) and Element is then connected.
What happened instead?
Your only session is not verified, as seen here (sorry, screenshot in French)
This forces a new user to initiate a reset process, which is not intuitive to any user new to Matrix. Element also lets you setup key backup on the server, but yields a secret that cannot be used to recover the account.
Other clients
This is not reproduced using Element Android (v1.6.16).
This is reproduced using element-desktop for Linux 1.11.69
Both FluffyChat and Cinny don't try to setup session verification at startup (as far as I've seen), hence this issue is irrelevant.
Operating system
Linux
Browser information
Firefox 127.0.2
URL for webapp
app.element.io, reproduced with locally hosted version
Application version
v1.11.69, crypto Rust SDK 0.7.0 (068a0af), Vodozemac 0.6.0
Homeserver
Synapse 1.109.0+bookworm1
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: