This module provides headless support for Google Authenticator, enabling users to generate QR codes for authenticator apps, check their TFA status, register for TFA, and log in using their time-based one-time password codes via REST API endpoints.
Provides headless TFA support for Google Authenticator, using the TFA Module.
Features
The module exists of 4 endpoints:
/api/totp/generate
Generates an uri for a QR code and a seed.
/api/totp/status
Checks the status of the user, if TFA is enabled or not.
/api/totp/register
Registers the user so it can use TFA
/api/totp/login
Checks if the user is authorized to login with the given code.
Post-Installation
The endpoints can be enabled under Settings > Webservices > REST.
Additional Requirements
Depends on the module TFA.
Uses REST to provide the endpoints.
RESTUI is a nice to have.
Depends on
Dependencies of the latest stable release
- restui
- Two-factor Authentication (TFA)
- rest Drupal core
- simple_oauth Drupal core
- user Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.2.3 | Stable | 9–11 | Drupal 11 compatibility | Jun 25, 2026 | |
| 2.3.x-dev | Dev | 9–11 | Drupal 11 compatibility | Jun 25, 2026 | |
| 2.2.2 | Stable | 9–10 | Nov 13, 2025 | ||
| 2.2.1 | Stable | 9–10 | Nov 13, 2025 | ||
| 2.2.0 | Stable | 9–10 | Nov 13, 2025 | ||
| 2.1.3 | Stable | 9–10 | Nov 10, 2025 | ||
| 2.1.2 | Stable | 9–10 | Nov 10, 2025 | ||
| 2.1.1 | Stable | 9–10 | Oct 6, 2025 | ||
| 2.1.0 | Stable | 9–10 | Jun 10, 2025 | ||
| 2.1.x-dev | Dev | 9–10 | Jun 10, 2025 | ||
| 2.0.9 | Stable | 9–10 | Dec 23, 2024 | ||
| 2.0.8 | Stable | 9–10 | Dec 19, 2024 | ||
| 2.0.7 | Stable | 9–10 | Dec 17, 2024 | ||
| 2.0.6 | Stable | 9–10 | Dec 16, 2024 | ||
| 2.0.5 | Stable | 9–10 | Dec 10, 2024 | ||
| 2.0.4 | Stable | 9–10 | Dec 10, 2024 | ||
| 2.0.3 | Stable | 9–10 | Dec 10, 2024 | ||
| 2.0.2 | Stable | 9–10 | Dec 10, 2024 | ||
| 2.0.1 | Stable | 9–10 | Dec 9, 2024 | ||
| 2.0.x-dev | Dev | 9–10 | Dec 9, 2024 |