Search by

sales-snap / mautic-passkey-bundle

AlexanderZlobinM1

Passwordless passkey sign-in for Mautic.

Package info

github.com/AlexanderZlobinM1/MauticPasskeyBundle

Type:mautic-plugin

pkg:composer/sales-snap/mautic-passkey-bundle

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.5 2026-11-27 09:41 UTC

This package is auto-updated.

Last update: 2026-11-27 09:42:05 UTC


README

Passwordless WebAuthn/passkey sign-in for Mautic 7. The plugin is licensed under GPL-3.0-or-later and maintained by Alexander Zlobin for Sales Snap.

Login behavior

  • With no registered credentials, the alternative login button registers a passkey after Mautic validates the entered username and password.
  • Once credentials exist, the button starts a discoverable passkey ceremony. The account bound to the selected passkey wins over any text left in the username and password fields.
  • The ordinary Mautic Sign in button remains the native password flow.
  • A user may register more than one passkey. An administrator can clear only the selected user's passkeys from Mautic's Users table.

Security model

The plugin uses web-auth/webauthn-lib and requires user verification and a discoverable credential. Challenges are random, one-time, session-bound, origin/RP-bound, and expire after five minutes. Production use requires HTTPS. Mautic stores the public credential record; biometric data remains inside the device authenticator and is never sent to Mautic.

Installation

This plugin is installed and updated through Composer in a Composer-managed Mautic installation. Run the commands from the Mautic project root, where the main composer.json is located:

composer require mautic/composer-plugin
composer require sales-snap/mautic-passkey-bundle:^1.0

The Mautic Composer plugin installs the bundle into plugins/MauticPasskeyBundle. Composer selects the latest compatible stable release and rejects unsupported Mautic versions.

After installing or updating the package, run Mautic's normal plugin and migration workflow:

php bin/console mautic:plugins:reload
php bin/console doctrine:migrations:migrate --no-interaction
php bin/console cache:clear

The migration creates the plugin-owned plugin_mautic_passkey_credentials table; no Mautic core table is modified.

Enable Passkey Login in Plugins. The login button appears on Mautic's standard login page after the plugin is enabled.

Administration

The Mautic Users table displays the Passkey registration status and provides a Clear Passkey action for users the administrator can manage. Clearing a user's Passkeys does not change the user's password or account. The user can register a new Passkey after signing in with the normal Mautic credentials.

Development

composer install --ignore-platform-req=ext-imap
composer test