Install Customer TFA
Install the package from the SoftwareSilo Composer repository. Test enrollment, login and recovery in staging before enabling it for customers.
composer config bearer.repo.softwaresilo.io <token>
composer config repositories.softwaresilo composer https://repo.softwaresilo.io/
composer require mageb2b/customer-tfa
php bin/magento module:enable MageB2B_CustomerTFA
php bin/magento setup:upgrade
php bin/magento cache:flush
Run dependency injection compilation and static-content deployment when your deployment mode requires them.
Verify the installation
php bin/magento module:status MageB2B_CustomerTFA
Then confirm:
- Stores > Configuration > MageB2B > Customer Two-Factor Authentication is available.
- An edited customer has a read-only Two-Factor Authentication Enabled status.
- The customer account dashboard shows the TFA management block after the feature is enabled.
Installation creates hidden, global customer attributes for the enabled state, encrypted authenticator secret and encrypted recovery-code list. Do not expose or edit these attributes through imports or custom forms.
Continue with Configuration.