Web vault keeps locking over and over again

Which Bitwarden app is your issue or question about?

4 - Web app

Operating System

05 - Linux

Where is your vault hosted?

Bitwarden (default)

Description

This just started, or at least I’ve not seen it before today. I log into the web vault, no issues with logging in. It loads. Then, as soon as I start doing anything, it locks (locks, it does not log me out). I have to unlock it, and almost as soon as I do, it locks again. I can’t really do anything as every mouse click or so, it locks. Over and over again.

I’m on Brave, on ZorinOS. I have cleared the cookies for bitwarden.com and restarted the PC. Same thing keeps happening.

The browser extension is unaffected and is working normally.

I think I have seen a similar thing on Brave before (and I wasn’t the only one). – Did you already try another browser (if only for comparison)?

Seems to work fine on Mullvad. So probably a Brave thing. But this is the first time I’ve run into it.

Just for reference – this is the thread I had in mind earlier (where it was reported for a Google account that kept getting logged out): Google accounts keep logging out in Brave after installing Bitwarden extension

I quickly looked into it again, and it could have been a Brave update back then. Maybe visit the Brave forum to get an update on this. (or report it there)

I did not see anything there about it so I created a report. Will advise if I get anything on that end.

Is it possible that the Bitwarden web server is seeing something on the client side that is triggering the vault lock as a defensive mechanism against an attack?

I am seeing this exact behavior on Chrome/Windows 11. Just to make sure, I logged in via FireFox and it is fine but on Chrome browser (on Windows 11), as soon as I login, it locks automatically within a minute.

Yup. Weird huh?

@bwuser10000 @ragsxc Did you set up biometric unlock / “synchronized unlock”? Then it may be that the web vault locks in sync with your browser extension and/or desktop app. (you should be able to see if the sync is active for the web vault in the web vault’s timeout settings)

No. Can’t do biometric unlock on my PC (no fingerprint reader) and I do not enable synchronous unlock.

Thank you Nail1684, I will check but curiously this doesn’t happen on FF. I do have biometric unlock, where would I check for “synchronized lock” setting?

That would be explainable if you have sync unlock enabled. Sync unlock is not supported for the web vault on Firefox at the moment.

Essentially where the biometric unlock setting was before. See here for more info: Synchronized Unlock | Bitwarden

For one thing, the BW mobile apps are not supported for synced unlock. And I think only the apps on the same device are supposed to “synchronize unlock”.

@ragsxc @bwuser10000 What are your Session timeout settings in the browser extension? If set to lock “immediately” or “1 min”, that would explain the locking behavior in the Web Vault when using Chrome (as the Chrome Web Vault now inherits the timeout behavior from the Chrome browser extension). The lock synchronization between extension and Web Vault is not (yet?) available for Firefox, which would explain why your experience in FF is unchanged.

I agree this could be related to synchronized unlock. Keep in mind the web vault to browser extension synchronization is always on regardless of the setting. I also agree, could you provide the vault timeout settings across the extension and web vault?

Extension locks after 10 minutes. Works perfectly and consistently.

Web vault locks after 15 minutes. Worked fine until this issue started recently.

At the suggestion of the Brave forums, I created a separate test profile in Brave. Had no issues using the web vault when using that test profile.

Then I went back to my normal profile and logged back into the web vault. Now, there’s no issues with it. I tested it for a while doing a number of different things, so I’m pretty convinced the issue is resolved somehow.

FWIW, the only active extension I have is the Bitwarden extension, nothing else installed.

That was it!!! I did have the browser extension set to 1m. Thank you!