doy / rbw

unofficial bitwarden cli
https://git.tozt.net/rbw
Other
620 stars 83 forks source link

Failed to log in to bitwarden instance (2FA problem) #23

Closed fedeizzo closed 3 years ago

fedeizzo commented 3 years ago

Hi, I've a problem during login.

Version: rbw --version rbw 0.5.0

Config file: { "email":"my-email@myemail.com", "base_url":null, "identity_url":null, "lock_timeout":3600 }

Command: rbw login

Error: rbw login: failed to log in to bitwarden instance: failed to parse JSON: TwoFactorProviders[0]: invalid type: string "0", expected u32 at line 1 column 93: invalid type: string "0", expected u32 at line 1 column 93

I use Authy as 2FA provider

djmbritt commented 3 years ago

Hello there,

I'm also having the same issue. It's not clear where I should be entering the 2FA in order to log in.

p0da commented 3 years ago

I am also facing the same issue. From the error message I think something changed on bitwarden's backend that messed with rbw's 2fa support.

doy commented 3 years ago

sorry about that! this should be fixed now in version 0.5.1.