Skip to content

[PM-41914] [PM-40883 Related] WebAuthn 2FA: Timeout and Cloudflare 522 Error when Firefox is the default browser #7264

Description

@eonardol

Steps To Reproduce

  1. Set Firefox for Android as the system's default browser.
  2. Open the Bitwarden Android app and attempt to log in using an account protected by WebAuthn/FIDO2 2FA (EU Cloud).
  3. Select YubiKey (via USB-C or NFC) for 2FA.
  4. When the WebAuthn prompt opens via Custom Tabs, enter the YubiKey PIN / complete User Verification.

Expected Result

The WebAuthn authentication completes successfully, the Custom Tab closes, and the user is logged into the Bitwarden app.

Actual Result

After completing the YubiKey PIN/User Verification prompt, the request hangs, times out, and displays a Cloudflare Error 522 page instead of redirecting back to the app.

Screenshots or Videos

No response

Additional Context

Build Version

2026.7.0 (21756)

What server are you connecting to?

EU

Self-host Server Version

No response

Environment Details

  • Device: Google Pixel 7
  • OS: Android 17
  • Default Browser: Firefox for Android (Fails with 522) vs Google Chrome (Works)
  • 2FA Method: YubiKey (USB-C / NFC) with PIN/User Verification

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