This article will guide you through setting up Two-Factor Authentication for your administrator account.
Step-by-step Guide
Login to the Magento admin panel.
After you login, you should see the following message:
Login to your email account and open the email with the subject: "2FA configuration required for ...". The body should say "You are required to configure personal Two-Factor Authorization in order to login to ...".
Click the "Click here" link in the email.
After clicking the link, you should see a page that looks like the following image:
COPY THE SECRET KEY INTO A TEXT FILE ON YOUR MACHINE AS WELL
Next, you will want to install an authenticator application.
For Desktop:
One option is to use an extension such as Authenticator.
For the mobile apps, when you start the app, follow the steps it provides to add your account.
After you've set it up, you should see a record that looks similar to the the image below:
Copy the code and return to the Magento login page.
Enter the code into the Authenticator code field and click Confirm.
You are now setup with Two-Factor Authentication The next time you login, you will just need to copy the code from the Authenticator app and enter it into the Authenticator codefield like in step 9.