-
-
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
Unable to restore a soft-logged-out session established via SSO #25957
Comments
This happens due to bugs in First, it inspects It then goes on to inspect localstorage for the URL of the homeserver that the loginToken belongs to (https://github.com/matrix-org/matrix-react-sdk/blob/v3.77.1/src/components/structures/auth/SoftLogout.tsx#L193). That setting was cleared when we did the token login. So, it declares the situation to be untenable and shows the above error. It's actually fine if there is an app reload between the initial login (or renewal) and the soft-logout. |
matrix-org/matrix-react-sdk#11402 adds a cypress test which has to work around this. |
I'm going to bump the severity on this. It's awful experience if you hit it because you end up vaping your crypto state. |
We're also running into this issue, after querying in #element-web:matrix.org @t3chguy replied the following:
|
I'm adding the OIDC label to this issue as I'd like us to explore whether we could feasibly fix this in the course of https://github.com/vector-im/element-internal/issues/412 (the label gets the issue on the respective board). CC @kittykat / @kerryarchibald |
@kerryarchibald sorry I realised I hadn't actually added this to your OIDC board. Could you give it a look? |
* Knock on a ask-to-join room if a module wants to join the room when navigating to a room ([\matrix-org#11787](matrix-org#11787)). Contributed by @dhenneke. * Element-R: Include crypto info in sentry ([\matrix-org#11798](matrix-org#11798)). Contributed by @florianduros. * Element-R: Include crypto info in rageshake ([\matrix-org#11797](matrix-org#11797)). Contributed by @florianduros. * Element-R: Add current version of the rust-sdk and vodozemac ([\matrix-org#11785](matrix-org#11785)). Contributed by @florianduros. * Fix unfederated invite dialog ([\matrix-org#9618](matrix-org#9618)). Fixes element-hq/element-meta#1466 and element-hq/element-web#22102. Contributed by @owi92. * New right panel visual language ([\matrix-org#11664](matrix-org#11664)). * OIDC: add friendly errors ([\matrix-org#11184](matrix-org#11184)). Fixes element-hq/element-web#25665. Contributed by @kerryarchibald. * Fix rightpanel hiding scrollbar ([\matrix-org#11831](matrix-org#11831)). Contributed by @kerryarchibald. * Fix multi-tab session lock on Firefox not being cleared ([\matrix-org#11800](matrix-org#11800)). Fixes element-hq/element-web#26165. Contributed by @ManuelHu. * Deserialise spoilers back into slash command form ([\matrix-org#11805](matrix-org#11805)). Fixes element-hq/element-web#26344. * Fix Incorrect message scaling for verification request ([\matrix-org#11793](matrix-org#11793)). Fixes element-hq/element-web#24304. Contributed by @capGoblin. * Fix: Unable to restore a soft-logged-out session established via SSO ([\matrix-org#11794](matrix-org#11794)). Fixes element-hq/element-web#25957. Contributed by @kerryarchibald. * Use configurable github issue links more consistently ([\matrix-org#11796](matrix-org#11796)). * Fix io.element.late_event received_ts vs received_at ([\matrix-org#11789](matrix-org#11789)). * Make invitation dialog scrollable when infos are too long ([\matrix-org#11753](matrix-org#11753)). Contributed by @nurjinjafar. * Fix spoiler text-align ([\matrix-org#11790](matrix-org#11790)). Contributed by @ajbura. * Fix: Right panel keeps showing chat when unmaximizing widget. ([\matrix-org#11697](matrix-org#11697)). Fixes element-hq/element-web#26265. Contributed by @manancodes. * Fix margin of invite to room button ([\matrix-org#11780](matrix-org#11780)). Fixes element-hq/element-web#26410. * Update base64 import ([\matrix-org#11784](matrix-org#11784)). * Set max size for Element logo in search warning ([\matrix-org#11779](matrix-org#11779)). Fixes element-hq/element-web#26408. * Fix: emoji size in room header topic, remove obsolete emoji style ([\matrix-org#11757](matrix-org#11757)). Fixes element-hq/element-web#26326. Contributed by @kerryarchibald. * Fix: Bubble layout design is broken ([\matrix-org#11763](matrix-org#11763)). Fixes element-hq/element-web#25818. Contributed by @manancodes.
Steps to reproduce
Outcome
What did you expect?
I expect to be able to restore the session via another SSO login.
What happened instead?
An error saying "You cannot sign in to your account":
Operating system
No response
Application version
current develop (Element version: d1f7b08-react-4a9c4198b080-js-55b9116c998b Olm version: 3.2.14 or so)
How did you install the app?
No response
Homeserver
Synapse 1.90
Will you send logs?
No
The text was updated successfully, but these errors were encountered: