
A support ticket arrives at 9:40 on a Monday. The editor replaced her phone over the weekend and cannot sign in. The site started requiring passkeys for administrators on Friday. Her old iPhone still holds the credential. The new one does not. There is no password field on the login screen, because someone read that passkeys “replace passwords” and turned the password form off.
That ticket is the argument in miniature. Passkeys are a real improvement over passwords. They are not yet a drop-in replacement inside WordPress, and the gap is not cryptographic. It is operational.
The cryptography is the easy part. A passkey either verifies or it does not. The hard parts are enrollment, recovery, domain changes, session cookies, and the dozen places where WordPress still expects a password. This guide covers those parts in the order they break.
What a passkey proves that a password cannot
A password is a shared secret. The user knows it, the server stores a hash of it, and anyone who learns it can replay it. That is why credential stuffing works: one breach becomes a million login attempts, and the server cannot tell the legitimate user from the attacker holding the same string.
A passkey is a key pair. The private key stays inside the authenticator: a phone, a laptop’s secure enclave, a password manager, or a hardware security key. The server stores the public key. At login, the authenticator signs a challenge with the private key, and the server verifies the signature with the public key. The private key never crosses the network.
The registration ceremony has four moving parts:
- The server generates a random challenge and sends it with relying-party information.
- The browser calls
navigator.credentials.create()and the authenticator generates a new key pair. - The authenticator returns the public key, a credential ID, and an attestation object.
- The server verifies the challenge and origin, then stores the credential ID and public key against the user.
The login ceremony is the same shape in reverse. The server sends a challenge and a list of allowed credential IDs. The browser calls navigator.credentials.get(), the authenticator signs, and the server verifies the signature. The WebAuthn Level 3 specification defines both ceremonies, and the MDN PublicKeyCredential reference documents the browser API that implements them.
Two details matter more than the rest.
The credential is bound to a relying-party ID. A passkey created for example.com will not sign a challenge from example.co, example.com.evil.test, or a lookalike domain. The browser and authenticator check the relying-party ID before the signature is released. This is the phishing resistance people mean when they call passkeys “unphishable” — the credential itself refuses to participate on the wrong site.
The biometric never leaves the device. Face ID, Touch ID, Windows Hello, and Android biometrics release the private key locally. The server receives a signature, not a face. That matters for privacy reviews, and it is why a passkey database breach does not expose a reusable login secret.
Passkeys come in two practical forms. Device-bound credentials live on one authenticator, such as a YubiKey. Synced credentials are copied by a platform keychain or password manager, so the same passkey works on a new phone. The passkeys.dev support matrix tracks which platforms sync, which stay local, and which browsers can use cross-device authentication through a QR code. The WebAuthn flags BE and BS describe whether a credential is backup-eligible and whether it is currently backed up; they are useful for support tooling, not for deciding whether a login is valid.
| Password | Passkey | |
|---|---|---|
| Secret stored on server | Hash of the shared secret | Public key only |
| Reusable after a breach | Yes, until changed | No; the private key is not in the database |
| Phishing resistance | None | Credential is scoped to the origin |
| Works without a device | Yes | No; the authenticator is required |
| Recovery | Email reset | Backup passkey, recovery code, or admin reset |
| Machine-to-machine use | Yes | No; use application passwords or keys |
The last two rows are where most WordPress rollouts go wrong. A passkey is excellent at proving a human is present on a specific device. It says nothing about a cron job, a REST integration, or a support engineer who has lost the device.
Where WordPress stands in 2026
As of WordPress 7.1, a default install still authenticates with a username and password. There is no passkey field in the profile screen and no WebAuthn endpoint in core. A passkey login on a self-hosted WordPress site comes from a plugin: a dedicated passkey plugin, a security suite that added the feature, or the official Two Factor plugin paired with a WebAuthn provider.
WordPress.com is a different product. Its security-key and passkey support belongs to the hosted platform, not to the zip file you install on your own server. A plugin recommendation for WordPress.com does not automatically apply to a self-hosted site, and the reverse is also true.
Core does ship one password-adjacent feature: application passwords. They are 24-character secrets for the REST API and XML-RPC, generated per user and revocable per application. They are not a replacement for passkeys. They are the thing you still need after passkeys are in place, because a passkey cannot authenticate a script.
The integration point for a passkey plugin is the authenticate filter. wp_authenticate() applies that filter before the core username/password handlers run. A plugin can inspect the request, verify a WebAuthn assertion, and return a WP_User object. Core then skips the password check and continues with the login flow.
That design is why passkey plugins can work without forking WordPress. It is also why a careless plugin can become an authentication bypass. The filter runs on every login path that calls wp_authenticate(), including XML-RPC. A handler that returns a user without checking the challenge, origin, and signature is worse than no passkey support at all.
Core’s password reset flow is still a password path. Passkeys do not remove it, and on most sites they should not. The reset email is the recovery mechanism of last resort, which makes it the weakest link in the chain. More on that below.
What a WordPress passkey plugin has to store
A passkey table is small. The important columns are the credential ID, the public key, the user, and the signature counter.
function my_passkeys_schema() {
global $wpdb;
$table = $wpdb->prefix . 'passkey_credentials';
$charset = $wpdb->get_charset_collate();
$sql = "CREATE TABLE {$table} (
id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
user_id bigint(20) unsigned NOT NULL,
credential_id varbinary(1023) NOT NULL,
public_key longblob NOT NULL,
sign_count bigint(20) unsigned NOT NULL DEFAULT 0,
transports varchar(255) NOT NULL DEFAULT '',
aaguid char(36) NOT NULL DEFAULT '',
friendly_name varchar(100) NOT NULL DEFAULT '',
created_at datetime NOT NULL,
last_used_at datetime DEFAULT NULL,
PRIMARY KEY (id),
UNIQUE KEY credential_id (credential_id),
KEY user_id (user_id)
) {$charset};";
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
dbDelta( $sql );
}
credential_id is stored as raw bytes in a varbinary column. The WebAuthn spec allows credential IDs up to 1,023 bytes, and authenticators use different lengths. Storing the base64url string instead invites duplicate rows for the same credential with different padding, and it makes the unique index larger than it needs to be.
public_key is public by design. It is not a secret, but it is still worth protecting: an attacker who can swap a public key can register their own authenticator against an existing account. Treat the table with the same care as wp_users.
sign_count is the field most often implemented wrong. Platform passkeys synced through iCloud Keychain or Google Password Manager commonly report 0 on every assertion. A verifier that rejects newCount <= storedCount unconditionally will fail those users on the second login. The correct rule is narrower: treat 0 as unknown, and only raise a clone warning when both the stored and received counters are greater than zero and the received value does not increase.
transports is a hint for the browser UI: usb, nfc, ble, hybrid, or internal. It is not a security signal. aaguid identifies the authenticator model; it can help support staff recognize “the YubiKey” versus “the phone”, but it is also a fingerprinting data point. Do not collect it unless you have a use for it.
A plugin can store credentials in user meta instead of a custom table. That works for one credential per user and becomes awkward for five. User meta is a key-value table, so a growing list in one row means every read fetches the whole blob. A custom table with a user_id index is the cleaner shape for a feature that allows multiple passkeys per account.
Challenge storage is part of the security model
The challenge must be random, single-use, short-lived, and tied to the login attempt. A transient keyed by a random session ID, plus an HttpOnly cookie that carries the session ID, is a workable pattern:
$session = wp_generate_password( 32, false );
$challenge = random_bytes( 32 );
set_transient(
'passkey_challenge_' . hash( 'sha256', $session ),
$challenge,
60
);
setcookie(
'passkey_session',
$session,
[
'expires' => time() + 60,
'path' => '/',
'secure' => true,
'httponly' => true,
'samesite' => 'Lax',
]
);
Three failure modes follow from this design.
If the site runs on more than one web node, the challenge must live in shared storage: the database or a shared object cache. A challenge written to a per-node cache on node A and read from node B will not match, and the login fails intermittently in a way that is hard to reproduce. Sticky sessions hide the problem until a node restarts.
If the challenge is stored in localStorage, any cross-site scripting bug can read it. The HttpOnly cookie keeps the session identifier out of JavaScript’s reach.
If the challenge is not deleted after verification, a captured assertion can be replayed inside the TTL. Delete the transient before you return success, not after.
The registration ceremony, in the browser and on the server
The browser side is a small amount of code wrapped around a large amount of protocol. These two helpers convert between the base64url strings that JSON can carry and the ArrayBuffer values WebAuthn expects:
function b64urlToBuffer(value) {
const pad = value.length % 4 === 0 ? '' : '='.repeat(4 - (value.length % 4));
const base64 = (value + pad).replace(/-/g, '+').replace(/_/g, '/');
const binary = atob(base64);
const bytes = new Uint8Array(binary.length);
for (let i = 0; i < binary.length; i += 1) bytes[i] = binary.charCodeAt(i);
return bytes.buffer;
}
function bufferToB64url(buffer) {
const bytes = new Uint8Array(buffer);
let binary = '';
for (const byte of bytes) binary += String.fromCharCode(byte);
return btoa(binary).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
}
Then the registration call:
const options = await fetch('/wp-json/my-passkeys/v1/register/options', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': nonce },
body: JSON.stringify({}),
}).then((response) => response.json());
const credential = await navigator.credentials.create({
publicKey: {
challenge: b64urlToBuffer(options.challenge),
rp: { name: options.rp.name, id: options.rp.id },
user: {
id: b64urlToBuffer(options.user.id),
name: options.user.name,
displayName: options.user.displayName,
},
pubKeyCredParams: [
{ type: 'public-key', alg: -7 },
{ type: 'public-key', alg: -257 },
],
authenticatorSelection: {
residentKey: 'preferred',
userVerification: 'preferred',
},
attestation: 'none',
timeout: 60000,
},
});
await fetch('/wp-json/my-passkeys/v1/register/verify', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': nonce },
body: JSON.stringify({
id: credential.id,
rawId: bufferToB64url(credential.rawId),
type: credential.type,
response: {
clientDataJSON: bufferToB64url(credential.response.clientDataJSON),
attestationObject: bufferToB64url(credential.response.attestationObject),
transports: credential.response.getTransports
? credential.response.getTransports()
: [],
},
}),
});
The parameters are policy decisions, not boilerplate.
alg: -7 is ECDSA with SHA-256 over P-256, the baseline algorithm current authenticators support. alg: -257 is RSASSA-PKCS1-v1_5 with SHA-256, included for older keys. Offering both is normal. Offering neither is how a plugin ends up incompatible with a hardware key that a client already owns.
attestation: 'none' is the right default for a blog, a store, or a membership site. Attestation can tell you the authenticator model, but it does not make the login stronger, and it adds a trust policy you have to maintain. A plugin that demands a specific attestation format will reject perfectly good phones.
residentKey: 'preferred' lets the authenticator store a discoverable credential when it can. required enables usernameless login, but it fails on older security keys and on some platform configurations. If you want usernameless login, test it against the oldest device your team owns.
userVerification: 'preferred' asks for a biometric or PIN when available. required is stricter and appropriate for administrator roles, but it can fail on a security key that has no PIN configured. Pick the policy per role, not per site, and document the fallback.
The server must not trust anything the browser says about the result. It needs to verify:
- The challenge matches the one it issued, and the challenge has not expired.
- The
origininclientDataJSONmatches the site’s expected origin. - The RP ID hash in
authenticatorDatamatches the relying-party ID. - The
typeiswebauthn.create. - The user-present flag is set, and the user-verification flag is set if the policy requires it.
- The attestation statement is valid for the chosen format.
- The public key can be extracted and stored.
Parsing CBOR, checking attestation, and validating the public key is not a weekend project. Use a maintained library such as web-auth/webauthn-lib, or use the verifier that ships with the plugin you are extending. A hand-rolled parser that accepts a malformed attestation object is an authentication vulnerability, not a shortcut.
Store the credential ID exactly as the authenticator returned it. If the same user registers the same phone twice, the unique index on credential_id should reject the duplicate rather than create two rows that both work.
The login ceremony, and where WordPress takes over
The login call looks like registration with a shorter option set:
const options = await fetch('/wp-json/my-passkeys/v1/login/options', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
username: document.querySelector('#user_login').value,
}),
}).then((response) => response.json());
const assertion = await navigator.credentials.get({
publicKey: {
challenge: b64urlToBuffer(options.challenge),
rpId: options.rpId,
allowCredentials: options.allowCredentials.map((credential) => ({
type: 'public-key',
id: b64urlToBuffer(credential.id),
transports: credential.transports,
})),
userVerification: 'preferred',
timeout: 60000,
},
});
If the username field is empty, the server can return an empty allowCredentials array and let the browser offer discoverable credentials. That is the usernameless flow, and it depends on residentKey being supported at registration time. It is convenient on a phone and confusing on a shared computer, where the browser may offer someone else’s synced passkey.
The server verifies the assertion, then hands WordPress a user:
add_filter( 'authenticate', 'my_passkeys_authenticate', 5, 3 );
function my_passkeys_authenticate( $user, $username, $password ) {
if ( $user instanceof WP_User ) {
return $user;
}
if ( empty( $_POST['passkey_assertion'] ) ) {
return $user;
}
$nonce = isset( $_POST['passkey_nonce'] )
? sanitize_text_field( wp_unslash( $_POST['passkey_nonce'] ) )
: '';
if ( ! wp_verify_nonce( $nonce, 'passkey_login' ) ) {
return new WP_Error(
'passkey_nonce',
'The login form expired. Reload the page and try again.'
);
}
$assertion = json_decode(
wp_unslash( $_POST['passkey_assertion'] ),
true
);
if ( ! is_array( $assertion ) ) {
return new WP_Error(
'passkey_invalid',
'The passkey response could not be read.'
);
}
$result = my_passkeys_verify_assertion( $assertion );
if ( is_wp_error( $result ) ) {
return $result;
}
$user = get_user_by( 'id', (int) $result );
return $user instanceof WP_User
? $user
: new WP_Error(
'passkey_user',
'The passkey is not linked to an active user.'
);
}
my_passkeys_verify_assertion() is the library call. It returns a user ID on success and a WP_Error on failure. The filter returns a WP_User, and wp_signon() sets the authentication cookies after the filter chain finishes.
Do not call wp_set_auth_cookie() inside the authenticate filter. The login flow is already going to do it, and setting it twice produces cookies with different expiration values and confusing session behavior. If you build a separate REST endpoint instead of hooking authenticate, then you do need to call wp_set_auth_cookie() and wp_set_current_user() yourself, because no core login flow is running.
Two more details belong in this handler.
Rate-limit it. A passkey challenge is cheap to generate, but the transient row and the signature verification are not free. An attacker who can request unlimited challenges can fill the options table or evict legitimate transients. Apply the same per-IP and per-account limits you would apply to the password form.
Expire the challenge on failure as well as success. If verification fails, delete the transient and force a new challenge. Reusing a challenge after a failed assertion gives an attacker more attempts against the same random value.
Why a passkey does not end account takeover
A passkey protects one step: the moment a human proves who they are to the login form. Account takeover has more steps than that.
Session cookies
A stolen wordpress_logged_in_* cookie is a valid session until it expires or is revoked. The attacker does not need the passkey, the password, or the device. This is why session hygiene still matters after a passkey rollout:
- Keep
HttpOnly,Secure, andSameSiteon authentication cookies. - Shorten the session lifetime for administrators with
auth_cookie_expiration. - Revoke sessions after a role change, a password reset, or a lost device.
- Use
wp_destroy_all_sessions()when an account is suspected of compromise.
A passkey makes the front door harder to pick. It does nothing about an open window.
Recovery
Recovery is the soft underbelly of every passwordless system. If an attacker can receive the password reset email, they can reset the password. If the plugin still allows password login, the passkey is optional. If an administrator can reset any account from the dashboard, a compromised administrator account can enroll a new passkey on someone else’s account.
The SMTP and password reset guide covers the delivery side. The policy side is yours: decide who can reset a passkey, what identity proof is required, and how long the recovery link lives. A recovery process that ends with “we emailed a link” inherits every weakness of the email account.
Password fallback
Many passkey plugins add a “Sign in with a passkey” button and leave the password form in place. That is a reasonable transition. It is not phishing-resistant for users who ignore the button and type their password into whatever page asks.
If the goal is phishing resistance for administrators, enforce passkeys by role and remove the password path for that role after a grace period. Keep a break-glass account outside the policy. More on that below.
Application passwords
Application passwords are separate secrets. They bypass the login form, the passkey prompt, and most two-factor plugins. A stale application password for a retired integration is a login that no passkey protects. Audit them:
wp user application-password list admin
wp user application-password delete admin <uuid>
The same logic applies to XML-RPC. If no client uses it, disable it with the xmlrpc_enabled filter rather than leaving a password endpoint open next to a passkey-protected login form.
Real-time relay and compromised devices
Passkeys stop a phishing page from using the credential, because the browser checks the origin. They do not stop a malicious browser extension that reads the page after login, malware on the device, or an attacker who controls the real domain through DNS or hosting compromise. They also do not stop a real-time proxy that convinces the user to complete a password fallback.
The honest claim is narrower than “passkeys cannot be phished.” Passkeys remove the reusable shared secret from the login ceremony. Everything after the ceremony is still your responsibility.
Administrator compromise
An attacker with administrator access can install a plugin, create a user, reset a password, or edit a theme file. Passkeys do not change that. The user roles guide is the relevant control: fewer administrators, custom roles for editors and shop managers, and a review of who can install code. The OWASP implementation guide covers the hardening layer around it, from file permissions to input handling.
The domain change that breaks every passkey
The relying-party ID is the part of the domain that owns the credential. It must be a registrable domain suffix of the origin, and it is set at registration time. Change the domain and the old credential no longer matches.
The common failures are predictable:
www versus apex. A plugin that derives the RP ID from home_url() will create credentials for www.example.com on a site that uses the www host. If a canonical redirect later sends logins to example.com, the browser sees a different RP ID and the passkey does not appear. Decide which host is canonical before enrollment, not after.
Staging with the production RP ID. A staging site at staging.example.com can technically set its RP ID to example.com, because the registrable domain matches. Do not do it. A credential created there is scoped to the production domain; if the two sites share a database or a credential table, that credential is valid on production. Give staging its own RP ID, or keep passkeys out of staging entirely.
A domain migration. Moving from example.com to example.co invalidates every credential. There is no export and import. Users re-enroll after the move, which means the migration plan needs a password or recovery path that survives the cutover.
HTTPS termination at a proxy. WebAuthn requires a secure context. If TLS ends at a load balancer and WordPress sees http:// internally, a plugin that checks is_ssl() may refuse to start the ceremony. Set X-Forwarded-Proto, configure WP_HOME and WP_SITEURL with https, and test the login from outside the network.
Multisite. A subdomain network has a different host for every site. A passkey table keyed only by user_id has no way to tell which site a credential belongs to. Store the RP ID with the credential, filter by it during login, and test a subsite before rolling out across the network.
Multiple web nodes. The challenge transient has to be shared. A load balancer that sends the registration request to one node and the verification request to another will produce intermittent failures. Use a persistent object cache or sticky sessions, and verify the behavior with the cache cleared.
Rolling out without locking yourself out
The rollout order matters more than the plugin choice. A passkey that nobody can recover is a liability.
- Inventory the accounts. List administrators, editors, shop managers, and any shared accounts. Shared accounts are a problem for passkeys because a credential belongs to a person, not a job title.
- Enroll administrators first. Each administrator registers two passkeys: one on a primary device and one on a backup device or hardware key. A single passkey on a single phone is one lost phone away from a support incident.
- Keep a break-glass account. One administrator account keeps a strong password and TOTP, stored offline, outside the passkey policy. It exists to recover the site when every passkey holder is unavailable. Document who can access it.
- Run a grace period. Allow password login alongside passkeys for a defined window. Track who has enrolled. Do not enforce until the enrollment rate is high enough that the remaining users can be handled individually.
- Enforce by role. Start with administrators, then editors, then customers. A WooCommerce store with thousands of customer accounts should not require passkeys until the plugin’s customer flows, checkout, and password reset have been tested.
- Write the support script. Verify identity out of band, revoke the old credential, issue a recovery link or reset, require re-enrollment, and revoke sessions. Do not email a passkey; passkeys cannot be emailed.
- Log the events. Record registration, successful authentication, failed authentication, and revocation. Do not log the challenge, the private key, or the full assertion payload.
A WP-CLI query gives you the enrollment gap:
wp db query "
SELECT u.user_login,
COUNT(c.id) AS passkeys
FROM wp_users AS u
LEFT JOIN wp_passkey_credentials AS c
ON c.user_id = u.ID
GROUP BY u.ID
ORDER BY passkeys ASC, u.user_login ASC;
"
Change the table name if the plugin uses user meta or a differently named table. The point is to see the accounts with zero credentials before enforcement, not after the first locked-out ticket.
Test the devices your team actually uses
A passkey demo on a recent iPhone proves very little. The support load comes from the edges:
| Device or context | What to test |
|---|---|
| Windows laptop with Windows Hello | Platform authenticator enrollment and login |
| Mac with Touch ID | Synced passkey and a second browser profile |
| Android phone | Google Password Manager, screen lock change, cross-device QR |
| iPhone and iPad | iCloud Keychain sync, device replacement |
| Hardware security key | USB, NFC, PIN policy, a second key as backup |
| Corporate laptop | Platform authenticator disabled by policy |
| Older browser | Graceful fallback to password or TOTP |
| Shared computer | Discoverable credentials and account switching |
The corporate laptop is the one that surprises people. Some managed devices disable platform authenticators or block browser passkey prompts. A rollout that assumes every administrator has a personal phone will fail on the first locked-down machine.
Test the failure paths, not just the happy path
A happy-path test proves the plugin works on your laptop. The failure paths prove it is safe to enforce.
- Register a second passkey, then sign in with it.
- Remove the first passkey and confirm the second still works.
- Revoke every credential and confirm the recovery flow.
- Expire a challenge and confirm the login fails with a readable message.
- Replay an old assertion and confirm it is rejected.
- Change the origin or RP ID in a staging copy and confirm the login fails.
- Disable the plugin and confirm the break-glass account can still sign in.
- Clear the object cache during a login and confirm the challenge survives, or that the failure is handled.
- Test a credential with a signature counter of
0twice in a row. - Test a user with no passkey and a role that requires one.
Browser automation can help with the repetitive cases. Chrome DevTools Protocol exposes WebAuthn.enable and WebAuthn.addVirtualAuthenticator, which let a test register and assert without a physical device. A virtual authenticator does not reproduce platform sync, user prompts, or a lost phone, so keep a real-device pass in the release checklist.
What still needs a password
Passkeys cover interactive human login. They do not cover the rest of the stack.
| Path | What it uses | What to do |
|---|---|---|
wp-login.php | Human login | Passkey, with a recovery path |
| REST API | Application passwords | Scope, rotate, revoke unused |
| XML-RPC | Username and password or application password | Disable if unused |
| WP-CLI | Filesystem and database access | SSH keys, least privilege |
| SFTP and SSH | Keys or passwords | Keys, restricted accounts |
| MySQL | Database user | Local socket, strong password, no remote root |
| SMTP | Mail account credentials | Dedicated account, app password |
| Staging basic auth | HTTP basic auth | Separate credentials, not production |
| WooCommerce API | Consumer key and secret | Scope to read or write, rotate |
The practical rule: a passkey is for the person, an application password is for the program, and a break-glass password is for the day the person and the program are both unavailable. Removing all three because “we use passkeys now” is how a site becomes unrecoverable. The WordPress security guide covers the server-side controls around this stack: updates, file permissions, backups, and monitoring.
The two-factor experience guide is useful here. Passkeys and TOTP solve different problems. TOTP is a second step after a password; a passkey can replace the password entirely. Running both during the transition is normal, and a TOTP fallback is a reasonable recovery path for users who cannot use a platform authenticator.
If the site already uses Google login, the Google login guide covers the OAuth side. Google login and passkeys are not the same control. OAuth delegates authentication to Google; a passkey authenticates directly to your site. The former depends on the Google account’s security, and the latter depends on the user’s device and your recovery process.
The decision table
| Situation | Passkeys now? | Why |
|---|---|---|
| Small blog, one administrator | Yes, with two passkeys and a break-glass account | Low user count, easy support |
| Agency site with client editors | Pilot, then enforce after enrollment | Clients change devices and need a recovery script |
| WooCommerce store with many customers | Optional, not mandatory yet | Customer flows and plugin support vary |
| Membership site with recurring logins | Yes, if the membership plugin supports it | Fewer password resets, better phishing resistance |
| Multisite network | Test per-site RP IDs first | One account, many hosts, one table can hide which site a credential belongs to |
| Corporate team with SSO | Use the identity provider’s passkeys | Do not build a second login policy inside WordPress |
| Site with legacy devices | Keep TOTP and password fallback | Older hardware may not support WebAuthn |
| High-turnover staff | Fix recovery and offboarding first | A departed employee’s passkey is a support problem |
| Load-balanced site without shared challenge storage | Fix challenge storage first | Intermittent verification failures are worse than passwords |
The pattern is consistent. Passkeys are a good fit when the user population is small, the devices are modern, and the recovery process is written down. They are a poor fit when the site has thousands of anonymous accounts and no support desk.
FAQ
Does WordPress core support passkeys?
No. As of WordPress 7.1, a default install authenticates with a username and password. Passkey login comes from a plugin that implements WebAuthn and hooks the authenticate filter. WordPress.com‘s hosted security-key support is a separate platform feature, not part of self-hosted core.
Are passkeys safer than passwords?
Yes for the login step. The private key never reaches the server, the credential is bound to the site’s origin, and a breached database does not expose a reusable secret. They do not protect against stolen session cookies, recovery abuse, malicious browser extensions, or an attacker who controls the real domain.
What happens if a user loses their phone?
They use a second passkey if they registered one. If they did not, an administrator revokes the old credential, verifies the user’s identity out of band, and issues a recovery link or password reset. Then the user enrolls a new passkey. A recovery policy that consists only of “email a link” inherits the security of the email account.
Can passkeys work with WooCommerce?
It depends on the plugin. Some passkey plugins support the WooCommerce login and checkout forms; others only cover wp-login.php. Test the customer flow end to end, including account creation, password reset, and guest checkout, before requiring passkeys for customers.
Do passkeys work across devices?
Synced passkeys do. iCloud Keychain, Google Password Manager, and several password managers copy the credential to other devices signed into the same account. Device-bound credentials, such as a hardware security key, stay on that key. Cross-device authentication through a QR code lets a phone approve a login on another machine, but the credential still lives on the phone.
Do passkeys send biometric data to the server?
No. The fingerprint, face, or iris scan releases the private key locally. The server receives a signature and a public credential. The authenticator may include an AAGUID that identifies its model, which is a fingerprinting data point, but not a biometric template.
Should I disable password login entirely?
Only after three things are true: every enforced user has two passkeys, a break-glass administrator can still sign in without a passkey, and the recovery process has been tested with a real lost device. Until then, keep the password form and use a grace period. A passkey-only site with no recovery path is a denial-of-service attack waiting for a dropped phone.
Do passkeys work with WP-CLI and the REST API?
No. WP-CLI uses filesystem and database access, and the REST API uses application passwords or cookie authentication. Passkeys are for interactive browser logins. Keep application passwords scoped and revoke the ones that no longer have an owner.
Passkeys are ready for WordPress administrators who can plan a rollout. They are not ready to be the only way into a site that has no recovery process, no shared challenge storage, and no answer for the editor who replaced her phone on a Saturday. The cryptography is solid. The operational work is the part that decides whether the login is actually safer.