A TOTP authenticator for use with silverstripe/mfa
Log in to SilverStripe with an authenticator app on your phone as a second factor, using a time-based one-time
This module provides a TOTP authenticator that plugs in to the silverstripe/mfa
Install with Composer:
composer require silverstripe/totp-authenticator
You will need to define an environment variable named SS_MFA_SECRET_KEY with a random secret key, which is used
for encrypting the TOTP secret. The authentication method will not be available for use until this is correctly defined.
You can also configure the length of the TOTP secret. This is the code that is displayed to users when they register
to use TOTP, for example "alternatively, enter this code manually into your app." The default length is 16 characters.
If you do not want to support manual code entry in your project, you may want to increase the length. See the
RegisterHandler.secret_length configuration property.
If you want to change the length of the TOTP codes the application accepts, you can adjust Method.code_length. The
default length is 6 characters.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem