Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.4 Update released for Drupal core (2.1.4)! Release: Facets 3.0.6 Minor update available for module facets (3.0.6). Release: Facets 3.0.5 Minor update available for module facets (3.0.5). Release: Pantheon Advanced Page Cache 2.4.1 Minor update available for module pantheon_advanced_page_cache (2.4.1). Release: Flag 5.1.0 Minor update available for module flag (5.1.0). Release: Workbench Email 3.0.8 Minor update available for module workbench_email (3.0.8). Release: Drupal CMS Helper 2.1.4 Minor update available for module drupal_cms_helper (2.1.4). Release: PDFa11y 1.0.9 Minor update available for module pdfa11y (1.0.9). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: ЮKassa (YooMoney) для Drupal v7 2.6.1 Module yoomoney_api updated after 7 months of inactivity (2.6.1).

SSO Connector 2FA

No security coverage Drupal 11 · not 10
View on drupal.org

This module adds a second verification step to SSO Connector logins. It supports TOTP authenticator apps with QR code enrollment, as well as email one-time codes, and includes features like backup codes, brute-force protection, and encrypted secrets.

Adds a second verification step to SSO Connector logins, supporting TOTP authenticator apps (Google Authenticator / Authy compatible, with a scannable enrolment QR code) and email one-time codes. It provides single-use backup codes, brute-force flood control, replay protection, and encrypts TOTP shared secrets at rest.

Features

  • TOTP (RFC 6238) enrolment with a scannable QR code and manual-key fallback.
  • Email OTP as a standalone second factor.
  • Single-use backup / recovery codes.
  • Replay protection — an accepted code cannot be reused (per-user counter for TOTP, single-use email codes).
  • Flood control on failed attempts, keyed by user and client IP, failing closed when locked.
  • TOTP shared secrets encrypted at rest (contrib Encrypt profile when configured, otherwise libsodium).
  • Bounded, configurable clock-drift window.
  • Admin-controlled method allow-list, with a subscriber that redirects enrolled-but-unverified users to the challenge.

Requirements

  • Drupal core ^11.2 || ^12
  • PHP >= 8.1 with the sodium extension
  • endroid/qr-code ^6 (pulled in automatically by Composer)
  • SSO Connector ^1.0
  • Optional: Key + Encrypt for a managed encryption profile

Installation

composer require drupal/sso_connector_2fa
drush en sso_connector_2fa

Part of the SSO Connector bundle

Requires SSO Connector (core). See the core project for the full suite.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.1 Stable 11 Jul 21, 2026
1.0.0 Stable 11 Jul 18, 2026