mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 17:12:43 -05:00
SSO: Not properly redirected to linux desktop client #6112
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ravxen on GitHub (Dec 24, 2025).
Prerequisites
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
testing
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
pangolin:latest, uses traefik:v.3.4.0 as backend
Host/Server Operating System
Linux
Operating System Version
Arch Linux
Clients
Desktop
Client Version
bitwarden 2025.10.0-1
Steps To Reproduce
Expected Result
Webpage gets redirected to the desktop client and successfully logs in.
Actual Result
Webpage never redirects, despite having the following URIs configured as "Valid redirect URI" in keycloak.
Logs
Screenshots or Videos
No response
Additional Context
Is somewhat the culprit I guess, because desktop expects bitwarden://sso-callback because the URL in the browser shows
Im not sure if vaultwarden SSO has an issue with keycloak because keycloak is correctly configured and mobile redirects, similar to the bitwarden URI, work for e.g immich or jellyfin.
@stefan0xC commented on GitHub (Jan 6, 2026):
How did you install the Bitwarden Desktop client?
As far as I've tested this with the official AppImage from Bitwarden getting this to work can be a bit involved and depending on your desktop environment you might have to manually create a desktop file like this:
So that your browser can ask if it opens a Bitwarden link:
I have not tried the method for firefox that is described in the wiki which might be easier.
Cf. https://bitwarden.com/download/#:~:text=The%20AppImage%20package%20will%20not%20support%20desktop%20integration