[Bitwarden Vault] Unable to login again after already logging out of Bitwarden
Extension
https://www.raycast.com/jomifepe/bitwarden
Raycast Version
1.104.12
OS Version
26.4.1
Description
If I logout from Bitwarden inside Raycast extension, and try to login again, it doesn't work. It keeps trying again and again, but never succeeds. Below are the error logs.
[2026-04-20T03:46:19.401Z] Failed to unlock vault: InvalidSessionTokenError: Invalid session token
Probably the only different thing I've in my setup is - I've connected the extension to a self-hosted Bitwarden server using custom Bitwarden Server URL, Client ID and Client Secret.
Logging in for the first time with above configs worked. It stops working after logging out explicitly.
Login works after uninstalling the extension and re-installing it fresh.
Steps To Reproduce
- Install the extension
- Configure Bitwarden Server URL, Client ID and Client Secret
- Login
- Logout
- Try login again
Current Behaviour
It keeps trying again and again, but never succeeds. Below are the error logs.
[2026-04-20T03:46:19.401Z] Failed to unlock vault: InvalidSessionTokenError: Invalid session token
Expected Behaviour
Login should work again, after logging out.
Thank you for opening this issue!
🔔 @jomifepe @daniel-stoneuk @andreaselia @pernielsentikaer @eth-p @YamenSharaf @undefinedzack @anirudhganwal06 @ivaarsson @gasparhabif @marinsokol @jose-elias-alvarez @krambono @clins1994 @naokiiida @mabraithwaite @edobry you might want to have a look.
💡 Author and Contributors commands
The author and contributors of jomifepe/bitwarden can trigger bot actions by commenting:
@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot close as duplicateCloses the issue as duplicate.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.
Hey! Are you still experiencing this issue?
Additional reproduction details on macOS with a self-hosted Vaultwarden server (v1.37.4):
- The Bitwarden Vault extension's Client ID and Client Secret could not be changed successfully after the extension had already been configured.
- Search Vault continued to fail with
Unable to fetch ServerConfig ... Invalid client_idafter changing the credentials. - Uninstalling the extension allowed the Client ID and Client Secret to be entered/changed again.
No account identifiers, server URL, or credential values are included. This appears related to stale extension preferences or cached authentication state; users should not need to uninstall/reinstall just to update API credentials.