Docs

Passkeys

5 min readUpdated November 19, 2026

A passkey lets a user sign in with their fingerprint, face, device PIN or a hardware security key instead of typing a password. Each passkey belongs to one site and can’t be phished, so a fake login page can’t steal it.

Shield adds a Sign in with a passkey button to your login page. Users register their passkeys themselves.

Before you start#

  • Your site must use HTTPS. Passkeys won’t work over plain HTTP. Local development on localhost is the one exception. If your site isn’t on HTTPS, the settings page warns you, “Passkeys require HTTPS. This site is not being served over HTTPS, so the passkey button will not be shown to visitors.”
  • Users need a device that supports passkeys, such as a phone, a laptop with Touch ID or Windows Hello, or a security key. If a browser doesn’t support them, the user sees “This browser does not support passkeys.”

Turn on passkeys#

  1. Go to Settings → Login Shield and open the Passwordless tab.
  2. Find the Passkeys (WebAuthn) section.
  3. Turn on Enable passkeys.
  4. Review the options below.
  5. Click Save passwordless settings.
A settings interface for a login plugin features toggles and checkboxes for “Magic link” and “Passkeys.” The form includes input fields for link lifetime and relying party ID, alongside role selection checkboxes for administrators, editors, authors, contributors, subscribers, and agents.

The options

OptionWhat it does
Enable passkeys“Let users register passkeys and sign in with them.”
Relying party IDLeave blank to use your site’s host name. Set it only if you log in from a subdomain and want passkeys shared across the whole domain (for example example.com). Changing it invalidates passkeys registered under the old value.
User verification“Require biometric / PIN verification (recommended).” When off, a security key tap without a PIN is accepted. Keep it on unless your users have keys without PIN support.
2FA“Passkey sign-in satisfies 2FA (skip the authenticator code).” On by default.
Allowed rolesTick the roles that can use passkeys. Leave all unticked to allow every role.
WooCommerce“Also show on the WooCommerce My Account login form.” On by default.

The tab also shows how many users have at least one passkey, with a link to add one to your own account.

Passkeys and 2FA#

A passkey is already two-factor: it needs the device plus a fingerprint, face or PIN.

  • With Passkey sign-in satisfies 2FA on (the default), a user who signs in with a passkey is not asked for a second code.
  • With it off, passkey sign-in is followed by the normal 2FA challenge.

A passkey can also be one of a user’s 2FA methods when they sign in with a password. For that, passkeys must be enabled here, and Passkey must be allowed on the 2FA tab. See “How 2FA works”.

How users add a passkey#

Users register passkeys on their Login & security page. See “The Login & security page for users”.

  1. Open Login & security.
  2. In the Passkeys section, under Add a passkey, type a Name such as “My phone”. The name can be up to 60 characters.
  3. Click Add a passkey.
  4. Your browser asks you to confirm with your device (fingerprint, face, PIN or security key).
  5. You see “Passkey added.” and the passkey appears in the Your passkeys table.

The table shows each passkey’s Name, Created date and Last used date, with a Remove button.

The Passkeys card on the Login & security page: a Your passkeys table with Name, Created and Last used columns, and an Add a passkey section with a Name box and an Add a passkey button.

Remove a passkey

Click Remove next to it, and confirm: “Remove this passkey? You will no longer be able to sign in with it.” You see “Passkey removed.”

Encourage users to add a passkey for each device, and to keep their password and backup codes as a fallback.

How users sign in with a passkey#

  1. Open the login page.
  2. Click Sign in with a passkey. It appears below the Log In button, in an “or” group.
  3. Confirm on your device. The page shows “Waiting for your device…” and then “Signing in…”.
  4. You’re signed in.

Users don’t need to type a username first.

On WooCommerce, the button also appears on the My Account login form if the WooCommerce option is on.

Security protections#

Passkey sign-in goes through the same checks as a password login:

  • An IP that is locked out, blocklisted or geo-blocked can’t use passkeys either. It gets “Too many failed login attempts. Please try again later.”
  • The passkey endpoints are rate limited per IP.
  • A passkey can only be used on the role-allowed accounts. If the user’s role isn’t allowed, the sign-in is denied and logged.
  • Registrations, sign-ins, removals and failures are recorded in the Log tab.

What if a user loses their device#

A passkey on a lost device is useless without the user’s fingerprint, face or PIN, but the user should remove it. They can sign in with their password (and 2FA) and remove the passkey on the Login & security page. An administrator can remove it too: open the user’s profile in Users, find Registered passkeys and click Remove. Reset 2FA does not delete a passkey.

The Passkeys and Two-Factor Authentication sections on another user's profile, as an administrator sees them: a Registered passkeys table, the 2FA status (Active, with an authenticator app and email code), a Regenerate backup codes button and a Reset 2FA button.

Troubleshooting#

  • No passkey button on the login page: passkeys are off, the site isn’t on HTTPS, or JavaScript is blocked.
  • “Passkeys require HTTPS.”: serve your site over HTTPS.
  • “Passkey sign-in is not allowed for your account’s role.”: the user’s role isn’t ticked under Allowed roles.
  • “Cancelled or timed out. Please try again.”: the user dismissed the device prompt, or it took too long. Try again.
  • “Passkey sign-in failed. Please try again.”: the passkey wasn’t recognised. Make sure it was registered on this site, and the Relying party ID hasn’t changed.
  • “Could not add the passkey. Please try again.”: registration failed. Check the name isn’t empty and try again.
  • Passkeys stopped working after a change: if you changed the Relying party ID or moved the site to a different domain, old passkeys no longer match. Users need to register new ones.
  • The Add button is disabled: the site isn’t on HTTPS.

Was this helpful?

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only