Two-Factor Authentication (2FA)

Материал из WiKi - UserSide
Версия от 09:53, 1 апреля 2024; Admin (обсуждение | вклад)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

en | ru

It is possible to configure the use of two-factor authorisation for customer logins. The "Google Authenticator" application is used

To enable/disable this feature, use a variable in the .env file

US_2FA_ENABLED=1

After enabling this variable when a correct username and password are entered when a customer logs in:

  • If the customer has not yet configured 2FA - a QR code will be displayed to add the resource to the Google Authenticator application
  • If the customer has already configured 2FA - an additional field for entering the code from the "Google Authenticator" application will appear.

In case the customer loses his/her phone and, consequently, access, or for other reasons - it is possible to reset 2FA binding in the customer's card, which will require a new registration/setup of 2FA at the next login attempt.


Links to official applications:

Android: https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2

iOS: https://apps.apple.com/ru/app/google-authenticator/id388497605