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.