Passwordless, phishing-resistant sign-in using platform authenticators — Touch ID, Face ID, Windows Hello, Android biometrics — or a hardware security key.
Why it is different from a code
A TOTP code can be phished. Somebody builds a convincing login page, you type your password and your six digits, and they replay both within thirty seconds.
A passkey cannot be, because the browser will only release it to the origin it was registered for. A fake domain gets nothing, no matter how convincing the page is.
It replaces the second factor
A passkey login is strong authentication, so it suppresses the two-factor prompt and the adaptive step-up. Signing in with a passkey does not then ask for a code — that would be theatre.
Requirements
- A secure context: HTTPS, or
localhostfor development. WebAuthn simply does not run otherwise, and this is not something the plugin can work around. - A browser with WebAuthn support, which in practice is every current browser.
The WebAuthn verification is implemented in the plugin, with no external library and no third-party service. Nothing about a passkey registration or assertion leaves your server.
Enrolling
From the WordPress profile screen, or from the front-end account page on a store.
Users can register more than one — a phone and a laptop, or a security key as a backup. Encourage that: one passkey on one device is a single point of failure, and it fails on the day the device is lost.
Revoking
Individually from the user's own list, or by an administrator from the console. And under incident pressure, Containment revokes every passkey along with everything else in one action.
wp itxuo passkey-revoke <user>
revokes one account's passkeys from a shell.
Origins
Passkeys are bound to an origin. If your site is reachable at more than one hostname, a passkey registered on one will not work on the other.
The itxuo_passkey_origins filter exists for the cases where that is genuinely wrong — a staging domain, a www/non-www pair you have not consolidated:
add_filter( 'itxuo_passkey_origins', function ( $origins ) {
$origins[] = 'https://www.example.com';
return $origins;
} );
Be conservative with it. The origin binding is the entire phishing resistance; widening it widens what an attacker can register against.
What gets logged
Registration, revocation, successful assertion and failed assertion.