I go to Settings, check the “Set up 2-factor authentication” box, click Save, reload the page, but clicking on “2FA installation link” does nothing. I tried copying the “secret” value from the link and using it to manually add an account in my 2FA app (Authy) but that doesn’t seem to work. The account gets added, but the codes it generates don’t seem to work for logging in (using a different browser).

I really don’t want to lock myself out. Am I doing something wrong, or is this a known issue?

  • I_Am_Jacks_____@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Maybe it’s a Vaultwarden self-hosting issue (vs. using bitwarden.com). Or maybe it’s that you’re using the Bitwarden TOTP app whereas I’m referring to the Bitwarden password manager.

    All of the other codes inside my Vaultwarden password manager are working except this one. I added “&algorithm=SHA256&issuer=Beehaw” and that did not help.

    • Ryonia Coruscare@beehaw.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      Not sure what the Bitwarden TOTP app is, totp is build into the default clients.

      I’ll also confirm that 2fa with beehaw at least is working for me. Vaultwarden shouldn’t make a difference, it’s just the data host, your client is the one decoding and then generating the otp.

      My advice, you shouldn’t have to add anything. Copy the totp link from your lemmy instance and paste the entire link into the Authenticator Key field in the bitwarden entry. The link should start with otpauth://totp/. Don’t remove anything from the link, it’ll work as is.

      If you’re finding it’s still not giving you the correct code, the only other thing that comes to mind is to make sure your device’s time is synced and accurate. TOTP codes are time sensitive, and if the device’s time is desynced, you will get incorrect codes generated.

      Good luck.