Skip to content

WebAuthn devices beyond previous max do not work as 2FA #6893

@jolness1

Description

@jolness1

Steps To Reproduce

  1. Register 6 or more WebAuthn devices at vault.bitwarden.com
  2. Log out
  3. Attempt to login
  4. When prompted, attempt to use 6th or later device registered as 2FA security key

Expected Result

Website accepts the key and user successfully logs in.

Actual Result

Get an error "Try a different security key. You're using a security key that's not registered with this website".

Screenshots or Videos

No response

Additional Context

All previously registered security keys (up to the previous limit of 5) work as expected still.
Behavior is identical across Brave and firefox on macOS, Debian 13 and Windows 11.
Keys register and save successfully but all keys past the former 5 key limit do not work as a second factor
Not sure about passkey login, my hunch is the behavior is the same.
Happy to test that hypothesis and work this issue if needed. Would love a chance to work on some FIDO2/WebAuthn stuff/contribute to one of my favorite OSS projects.

Build Version

latest

Environment

Cloud (bitwarden.com)

Environment Details

N/A

EDIT: Clarity/Accuracy

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions