-
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
Web app auto logs out while using when switching tabs #702
Comments
Yeah to solve this we need to use broadcastchannels and/or localstorage to coordinate session tokens between the tabs |
Could you just not automatically log out? Twitter, Facebook, Tumblr, Instagram, Reddit, etc., do not automatically log out. |
For that we need to implement different in-browser storage. As opposed to current storage, which gets cleared out on exiting from a tab. I will be happy to work on this issue. |
Not only that: when I log in again in one browser tab, and reload the other tab, that's not enough – I'm still logged out in the other tab (Chrome on Mac). Edit to be more precise: I opened many tabs yesterday with accounts I wanted to look at (and maybe follow) today, coming from a thread I liked. The log out happened like described. I logged in again in one tab – now, when I open any of the tabs from yesterday, I see the page for a short moment (browser cache), and then I get logged out. |
Any news regarding this bug? I am now experiencing it after the upgrade to 1.47. |
sorry to bump this, but for what it's worth, this seems to be happening to me a lot more now that I've enabled 2FA. It wouldn't be that big a deal, except that the current 2FA implementation appears to only work via email, so I have to switch focus to my email client to grab the 2FA code, and I've found that in iPadOS if I switch focus to my email client and then back to Safari, the page loses its state, and I have to log back in (initiating the email verification process again from the beginning). The only way I've been able to log in is by making sure the browser tab is on the screen while I pull up a side-by-side view of my email client (or pull up the email on another device). This seems to happen quite frequently with 2FA on - although maybe it's just more noticeable because of these steps to log back in. |
To Reproduce:
Result: unexpectedly auto logged out in both tabs
Expected: to keep using the app
Platform: https://staging.bsky.app/ on Firefox on Linux
Note this happens quite often to me as I often leave multiple Bluesky tabs open. As soon as I switch to an old one, I get logged out in all of them.
The text was updated successfully, but these errors were encountered: