2FA Recovery Code no longer working #396

Closed
opened 2026-04-05 21:07:52 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @shadow1runner on 8/20/2025

I've enabled two 2FA mechanisms: mail and authenticator app.
Following the upstream docs, I'm trying to recover using the recovery code which I've just copied from https://mydomain.example.localhost/#/settings/security/two-factor (alongside the user name and master password, of course).

I do not get an error in the web UI, but I'm just redirected to the main login view; the network pane reads as follows:

image

The log shows a single line:

vaultwarden-5d964b5d76-zqmsr [2025-08-19 22:49:21.283][vaultwarden::api::identity][ERROR] Invalid two factor provider

As per the discussion here, we could identify that upstream has refactored their recovery code handling and added a new type.

Originally posted by @shadow1runner in https://github.com/dani-garcia/vaultwarden/discussions/6200

*Originally created by @shadow1runner on 8/20/2025* I've enabled two 2FA mechanisms: mail and authenticator app. Following the [upstream docs](https://bitwarden.com/help/two-step-recovery-code/#use-your-recovery-code), I'm trying to recover using the recovery code which I've just copied from <https://mydomain.example.localhost/#/settings/security/two-factor> (alongside the user name and master password, of course). I do not get an error in the web UI, but I'm just redirected to the main login view; the network pane reads as follows: <img width="631" height="126" alt="image" src="https://github.com/user-attachments/assets/d27383f4-5bff-4659-a203-f449990f4333" /> The log shows a single line: > vaultwarden-5d964b5d76-zqmsr [2025-08-19 22:49:21.283][vaultwarden::api::identity][ERROR] Invalid two factor provider As per the discussion [here](https://github.com/dani-garcia/vaultwarden/discussions/6200#discussioncomment-14161185), we could identify that upstream has refactored their recovery code handling and added a new type. _Originally posted by @shadow1runner in https://github.com/dani-garcia/vaultwarden/discussions/6200_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#396