Description of the issue:
Websites are no longer logged in upon restart.
How can this issue be reproduced?
Reboot
Notice I have to login again to all pages.
Expected result:
Reboot
Sites still logged in.
Brave Version( check About Brave
):
Version 1.77.95 Chromium: 135.0.7049.52 (Official Build) (64-bit)
Additional Information:
This is a new issue, it has worked fine for ages. I don’t clear cookies or anything on exit. I use 14 pinned tabs which are logged in upon reboot. Things like Gmail and Twitter for example. About 3-4 days ago, I started to notice I have to relogin to all pages when I reboot.
Strangely, it isn’t 100%. Out of the 14 pinned tabs, two of them remain signed in. The rest however, I have to sign in as if cookies were cleared.
I confirmed clear on exit is not set, all potential items are unchecked. I also confirmed each of the tabs are not set to forget me when exit. I am only blocking third party cookies.
2 Likes
Are these all sites that you use your Google account information to login to?
1 Like
Not exclusively but many are. Twitter and Reddit is for example.
1 Like
Might be related to this issue:
opened 07:03PM - 19 Mar 25 UTC
needs-investigation
OS/Windows
priority/P2
webcompat/not-shields-related
OS/Desktop
### Description
Starting ~3mo ago or so, several users have reported that they … are being logged out of websites when they close/relaunch the browser. Most of these users have confirmed that they do not have the `Forget me when I close this site` Shields protection enabled, nor do they have data set to be clear "on exit".
While it _might_ be related to extensions and/or individual profile setups, it seems unlikely that all of the users reporting this have the same extensions and/or setups, or if they do have similar setups, the common thread is likely a setting in Brave itself, pointing to it potentially being a bug/issue in the browser.
Some users have reported that the following ["solution"/"workaround" resolves the issue](https://community.brave.com/t/brave-keeps-logging-me-out-of-google/599655/5?u=mattches), but users should not have to take these steps to simply stay logged into websites when they close/relaunch the browser:
> 1. In a Brave Browser New Window go to `brave://settings/content/javascript`
> 2. Scroll down that javascript settings page to Allowed to use javascript
> 3. Click the `Add` button
> 4. Enter `[*.]google.com` as the site . . . but do not enable `Current Private session only`
> 5. Click the `Add` button
> 6. Repeat those steps for:
> ```
> [*.]firebaseapp.com
> [*.]gmail.com
> [*.]googleapis.com
> [*.]googleusercontent.com
> [*.]gstatic.com
> [*.]youtube.com
> ```
Users have reported this issue occurring on Windows, macOS and Linux systems. Most of these reports are specific to sites that use Google accounts/auth logins, but some users report this occurring for other sites as well.
### Steps to reproduce
N/A
### Actual result
Users keep getting logged out of sites when closing/relaunching the browser
### Expected result
Users should stay logged into sites after closing/relaunching the browser unless they have `Clear data on exit` or `Forget me when I close this site` options enabled.
### Reproduces how often
Easily reproduced
### Brave version (brave://version info)
v1.76.74 -- but issue has been occurring for several months now.
### Channel information
- [x] release (stable)
- [ ] beta
- [ ] nightly
### Reproducibility
- [x] with Brave Shields disabled
- [ ] with Brave Rewards disabled
- [ ] in the latest version of Chrome
### Miscellaneous information
User reports:
- [I get logged out of google after closing brave](https://community.brave.com/t/i-get-logged-out-of-google-after-closing-brave/605145/11)
- [Brave keeps logging me out of google](https://community.brave.com/t/brave-keeps-logging-me-out-of-google/599655/)
- [Brave disconnecting from websites](https://community.brave.com/t/brave-disconnecting-from-websites/603631)
- [Persistent Auto-Logout Issue in Brave – Help Needed!](https://community.brave.com/t/persistent-auto-logout-issue-in-brave-help-needed/605435)
- [Brave Keeps Logging Me out of All Accounts 2 to 3 times a week](https://community.brave.com/t/brave-keeps-logging-me-out-of-all-accounts-2-to-3-times-a-week/598686)
- [Im getting logged out of Google Services](https://community.brave.com/t/im-getting-logged-out-of-google-services/583885)
- https://www.reddit.com/r/brave_browser/comments/1jazy1f/brave_logging_me_out_problem/
- https://www.reddit.com/r/brave_browser/comments/1ihsgzn/why_does_brave_all_of_a_sudden_keep_logging_me/
- https://www.reddit.com/r/brave_browser/comments/1di35hl/constantly_being_logged_out_of_gmail_and_youtube/
- https://www.reddit.com/r/brave_browser/comments/1jbydlc/spotify_web_player_just_wont_keep_me_logged_in/
- https://www.reddit.com/r/brave_browser/comments/1ja4yye/new_to_the_brave_browser/
- https://www.reddit.com/r/brave_browser/comments/1idn0xm/why_every_site_logged_out_all_of_a_sudden/
- https://www.reddit.com/r/brave_browser/comments/1i9uahr/google_keeps_logging_me_out_when_i_close_and/
- https://www.reddit.com/r/brave_browser/comments/1hl929b/brave_logs_me_out_regardless_of_settings_at_random/
Will continue to add them here as I see them. Shout out to @saoiray for aggregating all these recent threads.
cc @ryanbr @rebron @ShivanKaul
1 Like
Wrong one though. That’s the focus for the issue happening on Windows. Since OP is on Linux, should be related to the one below:
opened 10:59PM - 19 Mar 25 UTC
closed 07:28PM - 26 Mar 25 UTC
OS/Linux
QA Pass-Linux
priority/P2
QA/Yes
release-notes/exclude
OS/Desktop
### Description
Now I should say, this is a problem that a friend of mine has, … I've got him to try brave, but he is having an issue where when signing in to Google/YouTube on Brave, the browser is set to remember the password and user. However, after closing Brave and reopening it, the login is not retained. He has to sign in again and complete 2FA authentication.
On my computer, brave works as intended being that fully closing brave and reopening it then navigating to YouTube.com, I'm already signed in. no input needed. This seems like some session cookie issue, but he also tried it on a laptop of his that has never had brave, and the issue is happening there too, so I'm very confused what this could be, we went through all the settings and nothing seems out of place.
### Steps to reproduce
1. Open Brave.
2. Navigate to [YouTube](https://youtube.com/).
3. Sign in and save the login
4. Close Brave completely.
5. Reopen Brave (startup setting: "Open the New Tab page").
6. Navigate to [YouTube](https://youtube.com/) again.
### Actual result
YouTube.com opens to a "not signed in" state and you have to sign in.
### Expected result
YouTube should open to the main page with you already signed in after reopening the browser.
### Reproduces how often
Easily reproduced
### Brave version (brave://version info)
[Version 1.76.74 Chromium: 134.0.6998.89 (Official Build) (64-bit)](https://brave.com/latest/)
### Channel information
- [x] release (stable)
- [ ] beta
- [ ] nightly
### Reproducibility
- [x] with Brave Shields disabled
- [ ] with Brave Rewards disabled
- [ ] in the latest version of Chrome
### Miscellaneous information
He tried this on a second device (a laptop) and got the same behavior. Is this possibly something on googles side? To me, it sounds like the session cookie isn't working correctly, but I'm not an expert.
@BobbyThortan following what’s being said so far on the Linux topic:
Can you please try running the browser with --disable-features=UseFreedesktopSecretKeyProvider
and see if it helps? Also would be nice to hear if the same issue is reproduced (or not) in Chromium 135 for you.
I can reproduce the issue with following (latest?) nightly.
Brave 1.79.28 (Official Build) nightly (64-bit)
Can you please try running the browser with --disable-features=UseFreedesktopSecretKeyProvider and see if it helps?
This fixes the issue for me on the mentioned nightly mentioned above. <3
I am running Kubuntu 24.04 LTS with a mix of KDE Plasma and i3. Let me know if you need any further information.
Thank you. Looks like Chromium disabled this feature recently, we’re going to do the same via Griffin .
FYI: --disable-features=UseFreedesktopSecretKeyProvider
fixes the issue for me on Kubuntu 24.04 with 1.77.95.
Can confirm this works for me on Arch/KDE. Hint: put it in ~/.config/brave-flags.conf
so you don’t have to mess with any launchers.
2 Likes
@Mattches what I’m not following is how all of that correlates with https://github.com/brave/brave-variations/pull/1356
I see it merged and all, but not understanding enough if it’s more of a back end issue or going to be an update. And if an update, when it’s landing.
2 Likes
Looks like it’s been uplifted so it should be included in the next browser update.
3 Likes
--disable-features=UseFreedesktopSecretKeyProvider
Is this what KDE Wallet is using?
1 Like
This worked for me. I still had to relogin, but it stopped logging me out when I relaunched.
2 Likes
It looks like this is fixed in the latest release.
Thanks everyone for looking into it.
3 Likes