Two-Factor Authentication (2FA): различия между версиями
Admin (обсуждение | вклад) Нет описания правки |
|||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 1: | Строка 1: | ||
[[Two-Factor_Authentication_(2FA)|en]] | [[Двухфакторная_аутентификация_(2FA)|ru]] | [[Two-Factor_Authentication_(2FA)|en]] | [[Двухфакторная_аутентификация_(2FA)|ru]] | ||
It is possible to configure the use of two-factor authorisation for customer logins. | |||
The "Google Authenticator" application is used | |||
[[Файл: 2FA.jpg|thumb|800px|center]] | |||
To enable/disable this feature, use a variable in the .env file | |||
<pre> | |||
US_2FA_ENABLED=1 | |||
</pre> | |||
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 |
Текущая версия от 09:53, 1 апреля 2024
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