This project is not covered by Drupal’s security advisory policy.

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.

Supporting organizations: 
Funding, Development

Project information

Releases