qssdev/qss_googleauth 1.1.0

Google Authenticator two-factor authentication integrated for Magento 2 admin users

Type

magento2-module

License

OSL-3.0, AFL-3.0

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Google Authenticator Integration for Magento 2

This module integrates Google Authenticator into Magento 2 admin panel, to provide two factor authentication for store managers.

Features

  • Two factor authentication for Magento 2 store administrators
  • May be enabled / disabled per user
  • Login instructions mailed to enabled users on feature activation / secret (re)generation
  • Command-line interface

Installation

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.

Configuration

Go to your store's configuration to enable the extension:

config1

config2

config3

config4

Then generate your secret code for Google Authenticator app:

config5

config6

Now new field will appear on login screen, although it won't be required until you enable two factor authentication for given user:

config7

In order to do that, go to your account settings:

config8

config9

This may be done for other users as well, from admin user edit form or via Magento's command line interface:

config10

All set, now you will be required to fill in the valid login code while signing into your Magento 2 dashboard:

config11