You ran the 2FA rollout six months ago and TOTP enrollment is at 96%. The remaining gap is a handful of editors who lose phones, change devices, or get their authenticator app silently uninstalled by an IT-managed device wipe. Every recovery is 20 minutes of admin time and one shaky-confidence verification call. Passkeys are the upgrade — public-key cryptography bound to the device, phishing-resistant by protocol, no shared secret to leak. The deployment is straightforward; the operational reality of editors who log in from a Mac at home, a Windows laptop at the office, and an iPad on the train is the part that needs planning.
What’s happening
WebAuthn (Web Authentication, the W3C spec) and FIDO2 (the underlying authenticator standard) let a user prove possession of a private key without ever transmitting it. Passkeys are the consumer-facing name for WebAuthn credentials that sync across a user’s devices via a platform store — Apple’s iCloud Keychain, Google Password Manager, 1Password, Bitwarden. The same cryptographic primitive can also be device-bound: a YubiKey or Titan Security Key that holds the credential and doesn’t sync anywhere.
For WordPress, three plugin options matter in 2026:
- Two-Factor (feature plugin) with the WebAuthn provider. Native integration with the WP core 2FA framework. Maintained, audited, no marketing layer.
- Passwordless.ID for WordPress. Pure-passkey flow (no password fallback) — works well for greenfield, painful to retrofit.
- WP-WebAuthn. Older, less actively maintained, but battle-tested. Avoid for new deployments.
The flow at registration:
- The user opens their profile page, clicks “Add passkey,” the browser triggers the platform authenticator (Touch ID, Face ID, Windows Hello, security key).
- The authenticator generates a key pair, returns the public key to WordPress. WordPress stores it in usermeta, keyed by the credential ID.
- At next login, the browser asks for the same authenticator. The user touches their fingerprint sensor; the authenticator signs a server-issued challenge. WordPress verifies the signature against the stored public key.
No shared secret. No code to phish. The phishing-resistant property comes from the fact that the browser cryptographically binds the authentication to the origin — a fake wp-admin page on a typo-squatted domain doesn’t see the credentials because the browser refuses to release them.
How to verify
Confirm your WP install can serve WebAuthn correctly. Three things to check:
# 1. HTTPS — WebAuthn refuses to run on http:// (except localhost)
curl -sI https://your-wp-site.example/wp-login.php | head -1
# 2. The site's apex domain matches what users type
# If users go to www.example.com but you registered passkeys on example.com,
# the credential won't be released. The RP ID must match.
wp option get siteurl
wp option get home
# 3. The plugin is loaded and registered
wp plugin list | grep -i two-factor
wp option get two_factor_enabled_providers
Inspect a user’s registered credentials:
wp user meta list <user-id> --format=json \
| jq '.[] | select(.meta_key | test("webauthn"))'
Browser support is no longer a real constraint — every major browser since 2023 supports the WebAuthn API. The constraints are at the OS / authenticator layer: macOS 13+, iOS 16+, Windows 10 19H1+, Android 9+. Linux desktop needs a USB security key or a recent Chromium with a synced Google account.
The fix
A staged passkey deployment for the admin team. Three phases.
Phase 1 — install and enable the WebAuthn provider for the Two-Factor plugin.
wp plugin install two-factor --activate
wp plugin install two-factor-provider-webauthn --activate
wp option update two_factor_enabled_providers \
'["Two_Factor_Webauthn","Two_Factor_Totp","Two_Factor_Backup_Codes"]' \
--format=json
Keep TOTP enabled. Passkeys are the new primary; TOTP becomes the fallback for the cases where the user’s passkey-capable device isn’t available (the editor on someone else’s borrowed laptop). Backup codes stay as the last resort.
Verify the registration endpoint responds:
curl -sI https://your-wp-site.example/wp-json/two-factor/v1/webauthn/register
# Expect: 401 (auth required) or 200, NOT 404
A 404 means the plugin isn’t loaded or REST routes aren’t registered — check wp plugin status and rewrite rules.
Phase 2 — pilot with the admin team.
Five admins, two weeks. Each admin registers a passkey from their primary work device. If they have a YubiKey or Titan key, register that as well — a device-bound credential is a recovery story that doesn’t depend on the platform store being available.
The registration UX inside WP admin → Users → Your Profile → Two-Factor Options → WebAuthn → “Register a new device”:
- Click register, enter a friendly name (“MacBook Touch ID” or “YubiKey blue”).
- Browser prompts for authentication — fingerprint, Face ID, or PIN + tap.
- Credential created. Public key stored in
wp_usermeta._two_factor_webauthn_keys.
At next login, the user types their username + password, the browser then prompts for the passkey. One tap, done.
Phase 3 — extend to editors + shop managers.
The hard part isn’t the technology. It’s the multi-device editor:
- The editor’s primary device is a MacBook. iCloud Keychain syncs the passkey to their iPhone and iPad automatically. Three devices, one credential — works perfectly.
- The editor also uses a Windows laptop at the agency office. iCloud Keychain doesn’t sync to Windows. Solution: register a second passkey from the Windows machine. WordPress treats them as two separate credentials, both bound to the same user. The user can authenticate from either device.
- The editor occasionally uses a shared workstation in the boardroom. They cannot register a passkey there (the device isn’t theirs). Solution: TOTP fallback, used twice a quarter, fine.
Document the multi-device pattern in your editor onboarding so the answer to “I’m on my Windows laptop and the login prompt doesn’t recognize my fingerprint” is “register a second passkey from this device, takes 20 seconds, here’s the link to your profile page.”
Fallback considerations.
Three failure modes you must plan for:
-
Device lost, no other registered passkey. The user falls through to TOTP (if they enrolled one) or backup codes. If neither is set up, they go through the admin-mediated recovery process — same as for TOTP-only users. The recovery flow is identical; only the credential type changes.
-
Platform store outage. iCloud Keychain or Google Password Manager has an outage and the device-synced passkey isn’t available. This is rare, but the only mitigation is having more than one credential registered — a device-bound key (YubiKey) is the canonical answer.
-
Browser bugs. WebAuthn implementations occasionally regress. Safari 17.4 had a passkey bug for two weeks in 2024 that broke registration on certain Macs. The mitigation is the same: keep TOTP enabled as fallback so a browser regression doesn’t lock the editor out.
The configuration for a graceful fallback in wp-config.php:
// Allow TOTP and backup codes as fallback even when passkey is registered
// (default; do not disable)
define('TWO_FACTOR_PROVIDERS', [
'Two_Factor_Webauthn',
'Two_Factor_Totp',
'Two_Factor_Backup_Codes',
]);
Phasing out passwords.
Once passkey enrollment is universal in the admin team, the next conversation is whether to require passkey-only for administrator role logins (no password fallback at all). The Passwordless.ID plugin enables this; alternatively, a custom filter on authenticate:
add_filter('authenticate', function ($user, $username, $password) {
if (is_wp_error($user) || !$user) return $user;
if (!user_can($user, 'administrator')) return $user;
// Require a passkey/2FA factor; password alone is not enough
if (!has_completed_2fa($user->ID)) {
return new WP_Error('passwordless_required',
'Administrator accounts require passkey authentication.');
}
return $user;
}, 100, 3);
This is aspirational for most teams — a TOTP-only legacy account will trip it. Reserve for sites where the editor team has zero accounts that still rely on password-only login.
Stack Harbor implements WebAuthn for WordPress admin and editor roles under enterprise WordPress support, including the multi-device registration playbook and the recovery process owned by named admins. If you’ve outgrown TOTP and want to move admins to phishing-resistant auth, scope the pilot with us.