Customer Two Factor Authentication
Overview
Two Factor Authentication, or 2FA, is an extra layer of protection used to ensure the security of online accounts beyond just a username and password.
The module adds Two Factor Authentication for customers. The module leverage Magento UI components and authentication happens without page reload.
Features
- Duo Security Support (push notification or passcode)
- Google Authenticatior Support
- Authy support (onetouch, token, sms, call)
- Admin control over Two Factor Authentication providers
- A Customer able to reset credentials at their account
- Ability for admin to force every customer to use Two Factor Authentication
Magento Compatibility | 2.3.x, 2.4.x |
---|---|
License | GNU General Public License v3.0 (GPL-3.0) |
Composer Package | magetarian/module-customer-tfa |
Automatically Add The Repository
Through an SSH connection, all you have to do is run the following command from your Magento installation directory
composer config repositories.www.sashas.org composer https://www.sashas.org
Manually Add The Repository
The typical Magento 2 installation has repositories section of composer.json like this:
{
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
]
}
You will need to add a repository by appending an object to the repositories object
{
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"www.sashas.org": {
"type": "composer",
"url": "https://www.sashas.org"
}
},
}
How To Install The Module
Once the repository is added to the composer.json file, you can now install the packages that are available through it.
For example, let’s say you want to install the magetarian/module-customer-tfa module through composer. Run the command below to install it:
composer require magetarian/module-customer-tfa