pmclain/magento2-tfa 1.1.0

Two Factor Authentication for Magento 2 Admin

Type

magento2-module

License

GPL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Magento 2 Admin Panel Two Factor Authentication

Latest Stable Version Total Downloads

Two Factor Authentication to the Magento 2 admin panel using Google Authenticator

Server Time

It's extremely important that you keep your server time in sync with some NTP server.

Installation

In your Magento 2 base directory run:
composer require pmclain/magento2-tfa
bin/magento setup:upgrade

  • TFA must be enabled by the individual user by clicking 'Account Setting(user)' in the Magento 2 admin panel.
  • Once there, the user is able to enable the two factor authentication and view the QR code for a Google Authenticator compatible application.
  • Users with TFA enabled will not be able to log into the admin panel without a valid authentication code input on the Magento 2 admin login page.
  • Users with TFA disabled can leave the 'Authenticator Code' field blank during login.

Console Commands

TFA can be disabled using console commands if needed:

Disable TFA For All Admin Users

bin/magento pmclain:tfa:disable

Disable TFA For Single Admin User (by email)

bin/magento pcmlain:tfa:disable [email protected]

Magento Version Compatibility

Release Magento Version
1.x.x 2.2.x
1.x.x 2.1.x
1.x.x 2.0.x

Google Authenticator Apps:

To use the two factor authentication, your user will have to install a Google Authenticator compatible app, below are some currently available:

License

GNU GENERAL PUBLIC LICENSE Version 3