Google Authenticator two-factor authentication integrated for Magento 2 admin users
This module integrates Google Authenticator into Magento 2 admin panel, to provide two factor authentication for store managers.
You will need SSH access to your server.
Run the following commands in your Magento 2 root folder:
composer config repositories.qssdev git https://github.com/QSolutionsStudio/2FactorAuth-M2.git
(url will change for public version ofc)
composer require qssdev/qss_googleauth
php bin/magento module:enable QSS_GoogleAuth
php bin/magento setup:upgrade
You have now enabled and installed the module, but in order to make it work, you need to configure it first.
Go to your store's configuration to enable the extension:
Then generate your secret code for Google Authenticator app:
Now new field will appear on login screen, although it won't be required until you enable two factor authentication for given user:
In order to do that, go to your account settings:
This may be done for other users as well, from admin user edit form or via Magento's command line interface:
All set, now you will be required to fill in the valid login code while signing into your Magento 2 dashboard: