Passkeys
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
localhostis 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#
- Go to Settings → Login Shield and open the Passwordless tab.
- Find the Passkeys (WebAuthn) section.
- Turn on Enable passkeys.
- Review the options below.
- Click Save passwordless settings.

The options
| Option | What it does |
|---|---|
| Enable passkeys | “Let users register passkeys and sign in with them.” |
| Relying party ID | Leave 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 roles | Tick 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”.
- Open Login & security.
- In the Passkeys section, under Add a passkey, type a Name such as “My phone”. The name can be up to 60 characters.
- Click Add a passkey.
- Your browser asks you to confirm with your device (fingerprint, face, PIN or security key).
- 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.

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#
- Open the login page.
- Click Sign in with a passkey. It appears below the Log In button, in an “or” group.
- Confirm on your device. The page shows “Waiting for your device…” and then “Signing in…”.
- 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.

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?
Thanks for your feedback!
✓ Feedback received. Thank you!