elgentos/frontend2fa 1.0.0

Magento 2 Frontend 2FA implementation

Type

magento2-module

License

MIT

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Elgentos_Frontend2FA

This extension is based on Neyamtux_Authenticator, which offers 2FA for the backend.

Features

  • Ability to force frontend 2FA for specific customer groups;
  • 2FA is enforced for chosen customer groups meaning the customer has to either setup or authenticate before continuing after logging in;
  • All customers in any group can optionally set their own 2FA;
  • Open the customer in the backend to be able to reset the 2FA secret;
  • Dutch translation files.

Installation

composer require elgentos/frontend2fa
php bin/magento module:enable Elgentos_Frontend2FA
php bin/magento module:enable Neyamtux_Authenticator
php bin/magento setup:upgrade

Integration with other authentication systems

To bypass the 2FA requirement for a specific logged in user, for example if you are using a Single Sign-On system for certain users, set this value in their customer session:

$customerSession->set2faSuccessful(true);

Screenshots

Setup page (in My Account)

image

2FA authentication after logging in when setup is done

image

Configuration in backend

image

2FA reset button in backend

image

License

This project is licensed under the MIT License