Description
Steps to reproduce
- Configure a Synapse server to use SSO (in my case, OIDC with Lemonldap::ng) server as its sole login method
- Login through SSO on an account that never logged in before with Element Web (v1.11.69, crypto Rust SDK 0.7.0 (068a0af), Vodozemac 0.6.0 -- the version currently at https://app.element.io). I am able to repeatedly reproduce this step by setting up a dummy Synapse server, deleting the sqlite database and restarting the service.
- Check your account's sessions
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