Basic plugins for Drupal TFA module. Compatible with TFA 7.x-2.x branch.

The intent is to provide basic functionality for TFA Drupal module and to be an
example of TFA plugin development.

Plugins:

  • TOTP - A Time-based One Time Password plugin using PHP_Gansta\GoogleAuthenticator PHP library.
  • Trusted device - A TFA login plugin allowing browsers to be marked "trusted" so that subsequent logins will not require TFA for a 30 day window.
  • SMS - SMS delivered login codes using Twilio, Note: Currently disabled until Issue #2997261

These plugins can be optionally enabled and ordered.

Browse a list of TFA TOTP applications at https://groups.drupal.org/node/438328

There will not be a port of tfa_basic to Drupal 10. After discussions in the #contrib-tfa Drupal Slack channel, the community moved towards supporting and improving the Drupal 10 Two-factor Authentication (TFA) and Google Authenticator login modules. See: #2854558: Port TFA Basic to Drupal 8

Important information

Drupal 7 will reach end of support on January 5th, 2025. After January 5th and until such time as Drupal.org (D.O.) processes mark the module as unsupported, there will be no further development except for critical bugs (or similar). No new features will be added. After the D.O. update the module will be marked as deprecated and unsupported.

Project information

Releases