mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-06 09:13:03 +03:00
Login with device not working when using Helm with replica > 1 #13
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 @dlc-letelier on GitHub.
Prerequisites
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, SENDS_ALLOWED, USER_ATTACHMENT_LIMIT, TRASH_AUTO_DELETE_DAYS, SIGNUPS_ALLOWED, SIGNUPS_VERIFY, INVITATIONS_ALLOWED, EMERGENCY_ACCESS_ALLOWED, EMAIL_CHANGE_ALLOWED, SHOW_PASSWORD_HINT, ADMIN_TOKEN, INVITATION_ORG_NAME, IP_HEADER, ICON_REDIRECT_CODE, REQUIRE_DEVICE_EMAIL, LOG_TIMESTAMP_FORMAT, SSO_ENABLED, SSO_ONLY, SSO_CLIENT_ID, SSO_CLIENT_SECRET, SSO_AUTHORITY, SSO_SCOPES, SMTP_HOST, SMTP_SECURITY, SMTP_PORT, SMTP_FROM, SMTP_FROM_NAME, SMTP_USERNAME, SMTP_PASSWORD, SMTP_AUTH_MECHANISM, SMTP_ACCEPT_INVALID_CERTS, SMTP_ACCEPT_INVALID_HOSTNAMES
Config:
Vaultwarden Build Version
v1.34.3-a2ad1dc7
Deployment method
Official Container Image
Custom deployment method
Hello,
First, I just want to say that this project is wonderful. Thanks for your work.
I was trying to make a HA instance in Kubernetes, using Helm. I used the
testingtag, because I needed the SSO integration. If I set a deployment with 2 or more replicas, I have an issue while using the Login with device feature. If I try to use it on the same device (WebUI to authenticate the Desktop App) it works. But, if I try to accept the Login request from another device, it does not works.As a workaround if I set the replica to 1, worked. Seems that the "accept" is going to the wrong instance, and there is no coordination between the multiple replicas.
Reverse Proxy
traefik 3.5
Host/Server Operating System
Linux
Operating System Version
Kubernetes
Clients
Browser Extension, Web Vault
Client Version
No response
Steps To Reproduce
Expected Result
Can login to another device through the request/push option.
Actual Result
Nothing happens. Only works with one instance.
Logs
Screenshots or Videos
No response
Additional Context
No response