Please add a unified “Scan QR code” entry point to Bitwarden for Android that supports:
1. WebAuthn cross-device authentication QR codes, for both passkey registration and authentication.
2. Standard TOTP QR codes for enrollment.
The primary goal is to let users open Bitwarden on their Mobile phone and directly scan the QR code displayed by Windows OS when creating or using a passkey on a PC.
This should work without requiring Bitwarden to be selected as the Android system-wide passkey provider.
Current limitation
When a website on a Windows PC requests passkey creation or authentication, the request is handled by the native Windows WebAuthn dialog. After choosing the option to save a passkey on, or use a passkey from, a mobile device, Windows displays a QR code.
On some Android devices, scanning this code can invoke a supported third-party passkey provider such as Bitwarden. However, this integration is not available or consistent across all phones, Android versions, and vendor configurations.
Currently, this means users on unsupported devices cannot reliably initiate the cross-device flow directly from Bitwarden, even though their passkeys are stored in their Bitwarden vault.
Proposed behavior
Add an easily accessible “Scan QR code” action within the Bitwarden Mobile app. The scanner should identify the supported QR-code type and start the appropriate workflow.
- Creating a passkey on a PC
- A website on the PC requests passkey creation.
- In the native Windows WebAuthn dialog, the user chooses to save the passkey on a mobile device.
- Windows displays the cross-device WebAuthn QR code.
- The user opens Bitwarden on their mobile phone and selects “Scan QR code.”
- Bitwarden recognizes the WebAuthn hybrid transport QR code and establishes the standard secure cross-device connection.
- Bitwarden clearly displays the relying party and the requested operation.
- After user confirmation and verification, Bitwarden creates the passkey, saves it to the appropriate login item in the user’s encrypted vault, and completes registration on the PC.
- Using an existing passkey on a PC
- A website on the PC requests WebAuthn authentication.
- The user chooses the mobile-device option in the Windows dialog.
- Windows displays the cross-device WebAuthn QR code.
- The user scans it directly using Bitwarden on Mobile phone.
- Bitwarden locates matching passkeys in the user’s vault and asks the user to select an account if necessary.
- After user verification, Bitwarden returns the authentication response through the secure hybrid transport connection, allowing the PC to complete sign-in.
- Registering a TOTP authenticator
The same scanner should also recognize standard TOTP enrollment QR codes.
After scanning one, Bitwarden should:
- Parse the TOTP configuration, including the issuer, account name, secret, algorithm, digits, and period where provided.
- Allow the user to save the authenticator key to an existing login item or create a new login item.
Benefits
- Enables Bitwarden passkey creation and authentication across mobile device and Windows devices.
- Removes the dependency on mobile system-level third-party passkey provider integration for this workflow.
- Provides a consistent fallback for phones where scanning the Windows QR code does not invoke Bitwarden.
- Allows users to keep their passkeys in Bitwarden’s end-to-end encrypted and synchronized vault, even on a temporary or shared PC.
- Provides one consistent scanning entry point for both WebAuthn cross-device requests and TOTP enrollment.
Security considerations
- Clearly display the relying party and whether the operation is passkey creation or authentication.
- Require explicit user confirmation and appropriate user verification.
- Follow the standard hybrid transport proximity and secure-connection requirements.
- Never place WebAuthn private key material in the QR code or expose it to the PC.
- Treat scanned TOTP secrets as sensitive information and do not expose them in logs.
- Reject malformed or unsupported QR codes safely.
This proposal is about initiating WebAuthn hybrid transport and enrolling TOTP secrets. It is not about exporting, importing, or synchronizing passkeys through QR codes. It would complement, rather than replace, mobile native third-party credential provider integration where that integration is available.
It could also be implemented in Bitwarden Authenticator.