extensions icon indicating copy to clipboard operation
extensions copied to clipboard

[Bitwarden Vault] Unable to login again after already logging out of Bitwarden

Open desaiuditd opened this issue 7 months ago • 3 comments

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.

desaiuditd avatar Apr 20 '26 04:04 desaiuditd

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 issue Closes the issue.
  • @raycastbot close as not planned Closes the issue as not planned.
  • @raycastbot close as duplicate Closes the issue as duplicate.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.
  • @raycastbot keep this issue open Make sure the issue won't go stale and will be kept open by the bot.

raycastbot avatar Apr 20 '26 04:04 raycastbot

Hey! Are you still experiencing this issue?

jomifepe avatar Jun 13 '26 23:06 jomifepe

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_id after 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.

zckyachmd avatar Oct 31 '26 03:10 zckyachmd