Skip to content

Add Passkeys Support #779

Open

Description

@masteradhoc

Is your enhancement related to a problem? Please describe.

Add support for Passkeys as a modern, secure authentication method. Passkeys provide phishing-resistant, public-key–based authentication backed by platform authenticators (e.g. Touch ID, Face ID, Windows Hello) and synced credentials, offering a significantly improved security and user experience over passwords and traditional OTP methods.

Background
Passkeys are now broadly supported across modern browsers and operating systems and are actively promoted by Apple, Google, and Microsoft as the long-term replacement for passwords.

Technically, passkeys are built on the Web Authentication standard, but this proposal intentionally treats Passkeys as a first-class user feature, not a low-level WebAuthn/U2F implementation detail. This still is valid and worked over at #232

Proposed Solution

Introduce Passkey authentication as a supported login method, allowing users to authenticate using device-bound or synced passkeys instead of (or in addition to) passwords and OTPs.

High-level capabilities:

  • Users can register one or more passkeys on their account
  • Authentication is performed using the platform’s native UX (biometrics, PIN, security key)
  • Server stores only public key material and metadata

Possible Integration Models

Two integration approaches could be supported, either initially or over time:

Option 1: Passkeys as a Password Replacement (Passwordless Login)

  • Passkeys become the primary authentication method
  • No password required after passkey enrollment
  • Login flow: identify user → authenticate with passkey

Option 2: Passkeys as an Additional Authentication Method
Passkeys complement existing username/password flows

Can be used as:

  • passkeys are an additional layer of authentication
  • enter your username and password
  • confirm the login with your passkey

Designs

NA

Describe alternatives you've considered

No response

Please confirm that you have searched existing issues in this repository.

Yes

Activity

  1. added this to the 0.16.0 milestone on Feb 8, 2026
  2. chetanupare commented on Feb 13, 2026

    @chetanupare

    Hey @jeffpaul,
    I’m interested in contributing to this plugin and would love to help with this issue.
    Please let me know if it’s available to work on !

  3. jeffpaul commented on Feb 19, 2026

    @jeffpaul
    Member

    @chetanupare a draft PR linked to this issue would be great, go for it

  4. modified the milestones: 0.16.0, 0.17.0 on Mar 2, 2026
  5. r-a-y commented on Mar 23, 2026

    @r-a-y
    Contributor

    Option 1: Passkeys as a Password Replacement (Passwordless Login)

    This would be important to implement. Right now, you would have to login with your password first due to the nature of how the two-factor plugin is set up. There is already a decent WebAuthn passkeys plugin available that already implements OP's option 2 - https://wordpress.org/plugins/two-factor-provider-webauthn/. Perhaps password-less login can be worked on in that plugin.

    Also see #449.

  6. AliferSouza commented on Apr 25, 2026

    @AliferSouza

    Additionally, it would be valuable to include a Gutenberg block that enables authentication directly from the frontend. This would allow anyone to create their own custom login area, whether integrated with WooCommerce or used on a standalone authentication page.

    This approach would offer greater flexibility for developers and administrators, enabling the creation of more intuitive login interfaces aligned with the project’s visual identity, without relying solely on the default WordPress login screens.

    It is also possible to add an option/configuration to synchronize access keys between multiple WordPress instances, allowing for an experience similar to SSO (Single Sign-On).

  7. chetanupare commented on Jun 30, 2026

    @chetanupare

    @jeffpaul ,
    I've just opened a PR for this here: Link

    It fully implements both Option 1 (Passwordless) and Option 2 (2FA).
    Please take a look whenever you have time, and let me know if you need me to make any tweaks or changes!

    Thanks!

  8. chetanupare commented on Jun 30, 2026

    @chetanupare

    Additionally, it would be valuable to include a Gutenberg block that enables authentication directly from the frontend. This would allow anyone to create their own custom login area, whether integrated with WooCommerce or used on a standalone authentication page.

    This approach would offer greater flexibility for developers and administrators, enabling the creation of more intuitive login interfaces aligned with the project’s visual identity, without relying solely on the default WordPress login screens.

    It is also possible to add an option/configuration to synchronize access keys between multiple WordPress instances, allowing for an experience similar to SSO (Single Sign-On).

    Hey @AliferSouza , thanks for the suggestions!

    1. A Gutenberg block for frontend auth would be awesome. The good news is that the way this PR is built (using totally decoupled REST API endpoints) actually lays the perfect groundwork for that. It shouldn't be too hard for someone to whip up a custom React block in a follow-up PR!
    2. As for syncing passkeys for SSO, unfortunately, the WebAuthn standard strictly blocks this by design to prevent phishing. Browsers cryptographically lock a Passkey to the exact domain it was registered on. So, a Passkey created on site-a.com will automatically be rejected by the browser on site-b.com, even if we sync the database records behind the scenes.

    The only real exception is if you're running a Multisite on subdomains (like shop.domain.com). In that case, we can configure the root domain to let a single Passkey work across the whole network.

  9. jeffpaul commented on Aug 6, 2026

    @jeffpaul
    Member

    I noticed https://github.com/ivankristianto/wp-passkey/releases/tag/0.4.0 is also iterating in this space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions