I presented my approach to passkeys in WordPress at WordCamp Malaysia on September 9, 2023.1 It adds a “Log in with Passkeys” button beside the WordPress password form.2
The short version is that you can sign in with an enrolled passkey without typing a username or password.2 The WordPress Two Factor project, paired with its separate WebAuthn provider, uses it to check your identity after the password.3,4,5
I want more WordPress developers to try it now and tell me where it works and where it gets in the way.
What WordPress keeps when you add a passkey
Start from your own WordPress profile, while you’re already signed in. In wp-passkey, that’s where you click “Register New Passkey” and let the browser ask where to create it.2
The authenticator makes a key pair
WebAuthn is the browser API that handles the exchange. WordPress sends a fresh challenge and identifies the site that will use the credential. The authenticator, such as a passkey manager on your phone or computer, creates a key pair for that site and returns the public key with the registration response.6,7
You may get a prompt for your fingerprint, face, or device PIN. The authenticator uses that local check to let you use the credential.7 The WordPress.org listing calls the plugin “Biometric Authentication”. A device PIN can authorize the same operation.7,8
From Profile to WordPress user meta
The plugin asks for a platform authenticator and a discoverable credential, which means the browser can find a passkey for the site before you enter a username.6,2 That’s the property the sign-in button needs. A platform authenticator is part of the device. A passkey provider can expose a synced credential through it.6,2
Once the server accepts the response, the plugin saves the credential to WordPress user meta. The stored record includes the credential ID, public key, counter and flags, plus a device label, creation time and user agent.2 The authenticator keeps the private key and handles any biometric data locally.6,7
How passkeys in WordPress open a session
On the login page, you can go straight to “Log in with Passkeys”. The browser can offer a credential for the site because the plugin leaves the credential list empty in the request and lets the authenticator make the selection.2,6
WordPress checks the signature
WordPress sends a new challenge. After local verification, the authenticator signs the response with the private key. The server checks it against the stored public key, the fresh challenge and the site’s identity. On success, wp-passkey looks up the WordPress user and sets the usual login cookies.6,2
The pinned browser tests cover Profile enrollment and passkey sign-in, including a check for the WordPress login cookie.9 On November 21, 2026, Playwright reported 2 passed (15.0s) for those tests on source matching the WordPress.org 0.5.1 application files. The run used one local WordPress 7.2 RC2 site, PHP 8.2.36 and a virtual authenticator in Chrome 158. Real devices, other browsers, multisite, cross-device sign-in and production HTTPS remain untested in this run.
The password form stays on the page
The login page keeps the usual password form, so you still have the password route if the browser can’t offer a passkey.2,8 Think through what a user can do after losing access to every device that holds their credential. Keeping another sign-in method available is part of making that recovery work.6,7
My WordPress security guide has more on checking standard login routes and setting up two-step authentication.
Where Two Factor asks for WebAuthn
WordPress lists Two Factor as an active feature project.3 If you install Two Factor 0.17.0 with the separate WebAuthn Provider 2.6.3, you enter the WordPress username and password first. The provider’s prompt comes in the second-factor step.4,5,10
The feature project has an open passkeys proposal
The shipped Two Factor plugin can also offer options like an authenticator app or backup codes, depending on what you’ve enabled for the account.4 The newer proposal to add passkeys directly to the plugin includes a passwordless mode. On November 21 it was still an open pull request.11 The version you can install today uses the provider for that second-factor prompt.
Try it with a test account
If you’re testing passkeys in WordPress, start with an ordinary test account.
- Install and activate “Biometric Authentication” 0.5.1 on a test site running WordPress 6.2 or later and PHP 8.2 or later.8
- Sign in with your test account and choose “Register New Passkey” on Profile.2
- After signing out, choose “Log in with Passkeys”.2
- For the fallback check, sign out again and verify that the password form still works.2,8
If you try it on a real device or a multisite install, tell me what happened on GitHub.12 Your browser, device and the step where you got stuck are useful details. I’d like to hear where it worked too.
Sources
- 1 https://malaysia.wordcamp.org/2023/session/wp-passkey-passwordless-authentication-on-wordpress/ ↑
- 2 https://github.com/ivankristianto/wp-passkey/tree/5a2997da7ab68d4c26c8f697bb7a1181582f70f3/inc a b c d e f g h i j k l
- 3 https://make.wordpress.org/core/features/ a b
- 4 https://wordpress.org/plugins/two-factor/ a b c
- 5 https://wordpress.org/plugins/two-factor-provider-webauthn/ a b
- 6 https://www.w3.org/TR/2026/REC-webauthn-3-20260825/ a b c d e f g
- 7 https://fidoalliance.org/passkeys/ a b c d eSource 7 https://fidoalliance.org/passkeys/
- 8 https://wordpress.org/plugins/biometric-authentication/ a b c d
- 9 https://github.com/ivankristianto/wp-passkey/blob/5a2997da7ab68d4c26c8f697bb7a1181582f70f3/tests/e2e/passkey.spec.js ↑
- 10 https://github.com/sjinks/wp-two-factor-provider-webauthn/blob/53a25d55a42ceff76dd3bfb39e7450276212b868/inc/class-webauthn-provider.php ↑
- 11 https://github.com/WordPress/two-factor/pull/916 ↑
- 12 https://github.com/ivankristianto/wp-passkey/issues ↑
