Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

dmfa

3 sites No security coverage
View on drupal.org

Description

Provides FIDO2/WebAuthn security key and TOTP authenticator app
support for two-factor (2FA) and multi-factor (MFA) authentication in Drupal.

Users can register hardware security keys (YubiKey, SoloKey, etc.), platform authenticators (Windows
Hello, Touch ID, Android biometrics), passkeys, and TOTP authenticator apps (Google Authenticator,
andOTP, FreeOTP, Aegis, etc.).

Features

  • WebAuthn/FIDO2 — register and authenticate with hardware security keys, platform
    authenticators, and passkeys
  • TOTP — set up authenticator apps with QR code provisioning
  • 2FA mode — any single configured method clears the gate
  • MFA mode — require all configured methods (e.g. both a security key and
    authenticator app)
  • Per-user toggle — users choose whether to enable 2FA (when policy is
    "optional")
  • Admin policy — set 2FA as optional or required for all users
  • 2FA gate — event subscriber blocks access to the site until verification is
    complete
  • Self-service management — users manage their own keys and TOTP at
    /user/{uid}/security-keys
  • Clone detection — flags authenticators with sign counter anomalies

Requirements

  • Drupal 9.2+ (compatible with Drupal 10 and 11)
  • PHP 7.4+
  • HTTPS (required by the WebAuthn browser API)

Installation

composer require drupal-mfa
  drush en webauthn

Configuration

  1. Go to /admin/config/people/webauthn
  2. Set Relying Party ID to your domain (e.g. example.com)
  3. Set Relying Party Name (shown in authenticator prompts)
  4. Choose Policy: optional or required
  5. Choose Verification Mode: any (2FA) or all (MFA)

Libraries

Activity

Total releases
2
First release
Feb 2026
Latest release
1 month ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.1 Stable Feb 23, 2026
1.0.x-dev Dev Feb 23, 2026