Passkeys and QR codes serve fundamentally different purposes in modern digital security: passkeys are a replacement for passwords to authenticate your identity, while QR codes are often used as a bridge to facilitate that authentication between devices. You do not choose one over the other; rather, you use a QR code to enable the passkey handshake when you are trying to log in to a computer using a mobile device. To use them effectively, you need a device that supports FIDO2/WebAuthn standards, such as a modern smartphone (iOS 16+ or Android 9+) and a compatible web browser.

What You'll Need

  • A device that supports passkeys (iPhone, iPad, Android phone, or a computer with a built-in biometric sensor or security key).
  • A web browser that supports passkeys (Chrome, Safari, Edge, or Firefox).
  • An internet connection on both the primary device (the one being logged into) and the secondary device (the one holding the passkey).
  • Bluetooth enabled on both devices (this is required for the proximity check during QR code-based passkey authentication).
  • A service or website that has implemented passkey support.

Step-by-Step

Because passkeys and QR codes work together during the "cross-device authentication" process, these steps explain how to use a QR code to trigger a passkey login on a computer using your phone.

  1. Enable Passkeys on your primary device: Before you can use a QR code to log in, you must first set up a passkey for the specific service. On your mobile device, navigate to the security or account settings of the website or app you wish to use. Look for an option labeled "Passkeys," "Security Keys," or "Passwordless Login." Follow the prompts to create a passkey, which will involve using your face, fingerprint, or device PIN. Note that labels may vary slightly depending on the app version or operating system.
  2. Initiate login on the secondary device: On your desktop or laptop, go to the login page of the service. Instead of typing a password, select the option that says "Sign in with a passkey" or "Use a passkey."
  3. Trigger the QR code prompt: If the computer does not have a built-in passkey (like a fingerprint reader), the browser will offer an option to "Use another device" or "Use a phone or tablet.” Clicking this will generate a unique QR code on your computer screen.
  4. Scan the QR code: Open the camera app on your smartphone (which holds the passkey). Point the camera at the computer screen so the QR code is clearly visible. Most modern smartphones will automatically detect the link and display a notification or a button that says "Sign in with a passkey."
  5. Verify proximity via Bluetooth: Ensure Bluetooth is turned on for both your phone and your computer. During the scan, your devices use a Bluetooth "handshake" to ensure the phone is physically near the computer. This prevents a remote attacker from using your scanned QR code from a different location.
  6. Complete biometric authentication: Once the connection is established, your phone will prompt you to confirm the login. Use your fingerprint, FaceID, or device PIN. Once confirmed, the computer will automatically log you into the service without you ever typing a password.

Common Mistakes

One of the most frequent mistakes is assuming that a QR code is a substitute for a passkey. A QR code is simply a piece of data that tells your phone, "Hey, this computer wants to talk to you." If you haven't actually created a passkey on your phone for that specific website, scanning the QR code will result in an error or simply prompt you to create a password instead. Another mistake is having Bluetooth disabled. Many users believe the QR code handles the entire connection, but the Bluetooth component is a critical security layer designed to prove physical presence. If Bluetooth is off, the authentication will likely fail for security reasons.

Additionally, users often try to use a screenshot of a QR code. For security and proximity reasons, the authentication process requires a live scan of the code displayed on the screen. Using a photo of a QR code can sometimes trigger security flags or fail the proximity check because the temporal data within the handshake is tied to the live interaction.

Tips

To make the transition to passkeys as smooth as possible, ensure your devices are synced with a cloud service. For example, if you use an iPhone, your passkeys are synced via iCloud Keychain. If you use Android, they are synced via Google Password Manager. This ensures that if you lose your phone, you can recover your passkeys on a new device using your cloud credentials. This prevents you from being locked out of your accounts.

When setting up passkeys, try to do it while you are still logged in via your traditional password. This makes the transition seamless. Once the passkey is created, you can often choose to disable password login entirely for that service, which significantly increases your security posture by eliminating the risk of phishing attacks aimed at stealing your password.

Troubleshooting

If the QR code scan does not work, start with the simplest checks. Ensure that your phone's camera is clean and that there is enough light to read the code on the monitor. If the phone recognizes the QR code but nothing happens, check that Bluetooth is enabled on both the phone and the computer. This is the most common technical hurdle.

If the browser on your computer does not show a QR code option, check if your browser is up to date. Older versions of browsers may not support the WebAuthn standard required for passkeys. If you are using a work computer, your IT department may have disabled passkey or biometric authentication through group policies; in this case, you will need to contact your system administrator.

If you receive an error stating "Passkey not found," it means the passkey you are trying to use was not created for this specific website or was created on a different device that is not synced to your current one. Double-check that you are logged into the same cloud account (Apple ID, Google Account, etc.) on both devices. If all else fails, try clearing your browser cache or restarting both devices to reset the Bluetooth and connection handshakes.

Frequently Asked Questions

Are passkeys more secure than passwords?

Yes, passkeys are significantly more secure because they are resistant to phishing. Since they rely on public-key cryptography and require physical proximity via Bluetooth, an attacker cannot trick you into giving them your passkey through a fake website.

Can I use a passkey if I don't have a smartphone?

Yes, you can use a hardware security key, such as a YubiKey, which plugs into your computer's USB port. These keys act as physical passkeys that do not require a mobile device to function.

What happens if I lose the device that holds my passkey?

If your passkeys are synced to a cloud service like iCloud or Google, you can recover them by logging into your cloud account on a new device. If you use a hardware key that is not backed up, you may lose access to your accounts unless you have previously set up a secondary recovery method.

Do passkeys work on every website?

No, passkeys are a relatively new technology. While major platforms like Google, Amazon, and Microsoft support them, many smaller websites still rely on traditional email and password combinations. You can check for passkey support in a site's security settings.

Is scanning a QR code dangerous?

Scanning a QR code to log in via a passkey is very safe because the code is part of a cryptographic handshake. The QR code itself doesn't contain your credentials; it only facilitates a secure connection between your phone and the computer.