Skip to content

feat/add-passkey-login-registration#84

Open
RumanCodes wants to merge 1 commit into
WPManageNinja:masterfrom
RumanCodes:feat/add-passkey-login-registration
Open

feat/add-passkey-login-registration#84
RumanCodes wants to merge 1 commit into
WPManageNinja:masterfrom
RumanCodes:feat/add-passkey-login-registration

Conversation

@RumanCodes
Copy link
Copy Markdown
Member

Description

This PR adds Passkey (WebAuthn) authentication support as a new independent provider in FluentAuth, enabling passwordless login and registration using device-based authentication (biometrics/PIN).


Changes

Passkey System

  • Implemented WebAuthn-based registration and login flow
  • Added support for multi-device passkey management

Backend

  • Added PasskeyHandler for AJAX endpoints, shortcode, and asset loading
  • Added PasskeyService for:
    • Challenge generation
    • WebAuthn verification
    • RP/origin validation
    • Public key handling
  • Added PasskeyCredentialRepository
  • Introduced fls_passkey_credentials table

Settings

  • Enable Passkey Login
  • Show passkey login button on login forms
  • Passkey user verification option

Frontend

  • Added passkey.js
  • Integrated WebAuthn API (create / get)
  • Added Mix build entry for compiled asset

UI

  • Added [fluent_auth_passkeys] shortcode for managing passkeys

Security

  • RP and origin validation
  • Challenge-based authentication
  • Public key verification
  • Replay attack protection via sign counter

Testing

  • Registration & login flow
  • Multi-device support
  • Credential deletion
  • Chrome & Safari tested

feat/add-passkey-login-registration
@RumanCodes RumanCodes force-pushed the feat/add-passkey-login-registration branch from e987ef9 to 769e21d Compare May 14, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant