Does this work with 2FA? #4
Answered
by
dh024
ZoltrixGFC
asked this question in
Q&A
|
Hi, Thanks for the tip on the forums regarding the script and Windows 👍 Now when running the script it gives me, "ERROR: Failed to authenticate". I thought I better double check, does this script work if you have 2FA enabled on your Bitwarden account? |
Answered by
dh024
Sep 11, 2022
Replies: 1 comment 5 replies
|
Yes, it will work with authenticator codes, email, or recovery codes. It might also work with Yubikey and Duo - the Bitwarden help is not clear on this, and I don't use either to test. It will not work with FIDO2 WebAuthn, however. If you received a "Failed to authenticate" error, it means something went wrong with the login process, so either the wrong username (email) or password was entered. Did you set your email within the script at line 15? |
5 replies
Answer selected by
dh024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yes, it will work with authenticator codes, email, or recovery codes. It might also work with Yubikey and Duo - the Bitwarden help is not clear on this, and I don't use either to test. It will not work with FIDO2 WebAuthn, however.
If you received a "Failed to authenticate" error, it means something went wrong with the login process, so either the wrong username (email) or password was entered. Did you set your email within the script at line 15?