Drupal is a registered trademark of Dries Buytaert

tfa_headless

No security coverage
View on drupal.org

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.

Activity

Total releases
14
First release
Dec 2024
Latest release
3 months ago
Release cadence
26 days
Stability
86% stable

Release Timeline

Releases

Version Type Release date
2.2.2 Stable Nov 13, 2025
2.2.1 Stable Nov 13, 2025
2.2.0 Stable Nov 13, 2025
2.1.3 Stable Nov 10, 2025
2.1.2 Stable Nov 10, 2025
2.1.1 Stable Oct 6, 2025
2.1.0 Stable Jun 10, 2025
2.1.x-dev Dev Jun 10, 2025
2.0.5 Stable Dec 10, 2024
2.0.4 Stable Dec 10, 2024
2.0.3 Stable Dec 10, 2024
2.0.2 Stable Dec 10, 2024
2.0.1 Stable Dec 9, 2024
2.0.x-dev Dev Dec 9, 2024