> ## Documentation Index
> Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up two-factor authentication

Two-factor authentication (2FA) provides an extra layer of security for your account. It requires both a password and a single-use digital key when logging into your account. Two-factor authentication increases protection for your accounts and prevents them from unauthorized access.

## Configure two-factor authentication

1\. In the Gcore Customer Portal, click your profile icon in the top-right corner and select **Profile**.

2\. Click **Enable 2FA**.

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/enable-2fa-button.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=903fad2eb229c496a0bb9bf55518e685" alt="Two-Factor authentication section with Enable 2FA button" width="649" height="200" data-path="images/docs/account-settings/set-up-two-factor-authentication/enable-2fa-button.png" />
</Frame>

3\. In the configuration dialog that opens, download an authenticator application on your mobile device and sign up there. We recommend using one of the following:

* [Google Authenticator](https://support.google.com/accounts/answer/1066447?hl=en) (for [Android](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2\&hl=ru)/[iOS](https://apps.apple.com/us/app/google-authenticator/id388497605)/[BlackBerry](https://www.blackberry.com/us/en/products/blackberry-2fa))
* [Microsoft Authenticator](https://support.microsoft.com/en-us/account-billing/download-microsoft-authenticator-351498fc-850a-45da-b7b6-27e523b8702a) (for [iOS](https://apps.apple.com/us/app/microsoft-authenticator/id983156458)/[Android](https://play.google.com/store/apps/details?id=com.azure.authenticator\&hl=en)/[Windows Phone](https://apps.microsoft.com/store/apps?hl=en\&gl=EN\&activetab=pivot:overviewtab))
* [Authy](https://authy.com/download) (for [Android](https://play.google.com/store/apps/details?id=com.authy.authy)/[iOS](https://apps.apple.com/us/app/authy/id494168017))

<Accordion title="Troubleshooting authenticator apps">
  If you're having issues with your authenticator application, check the following troubleshooting steps.

  ### Check apps' time synchronization

  Two-factor authentication (2FA) requires synchronized time with the login device to ensure the confirmation method stays up to date. If you get an invalid code message but are sure the code is correct, it might be the app's time synchronization issue.

  To resolve this issue, make sure that the date and time are set correctly, and enable network time synchronization on the device you're using to log in.

  ### Use a backup verification code

  Use one of the one-time backup codes that were generated during the setup of 2FA.

  ### Check your device configuration

  If you recently changed the device with your authenticator app, check the application settings to verify that it's configured correctly on the device.
</Accordion>

4\. Scan the QR code from the pop-up window in your authenticator application.

5\. Enter the six-digit code generated by the app and click **Check**.

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/2fa-qr-dialog.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=4b6ff033aa5e6ae1f63097e1672af178" alt="Enable Two-Factor authentication dialog with QR code" width="480" height="572" data-path="images/docs/account-settings/set-up-two-factor-authentication/2fa-qr-dialog.png" />
</Frame>

That's it! You can now log in to your Gcore account with two-factor authentication.

### Generate backup verification codes

If you have used all backup verification codes, you can generate new ones. To do so, click **Generate backup code**.

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/2fa-security-section.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=95e6fc8ed846db3febf972bb6495753c" alt="Two-Factor authentication section on My profile page" width="651" height="295" data-path="images/docs/account-settings/set-up-two-factor-authentication/2fa-security-section.png" />
</Frame>

<Warning>
  **Warning**

  A backup code can be used only once.
</Warning>

You will have thirty seconds to copy and save five codes in a way convenient to you. Note that each time you click the **Generate backup code** button, the old codes are invalidated.

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/backup-codes-dialog.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=39c78f67cc9d2e23259fcbfa2f8d44d1" alt="Backup verification codes dialog" width="480" height="302" data-path="images/docs/account-settings/set-up-two-factor-authentication/backup-codes-dialog.png" />
</Frame>

## Log in with two-factor authentication

1\. Enter your email and password on the [login page](https://auth.gcore.com/login/signin).

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/login-page.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=e52e98602c089236f99e64c1fcc58b73" alt="Log in page" width="460" height="384" data-path="images/docs/account-settings/set-up-two-factor-authentication/login-page.png" />
</Frame>

2\. Click **Log in**.

3\. Enter a verification code from your authenticator app or use a [backup code](/account-settings/my-profile/two-factor-authentication#generate-backup-verification-codes).

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/enter-code-auth.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=c7d84ef885054c4a9ddd892b11375594" alt="Enter authenticator passcode screen" width="540" height="412" data-path="images/docs/account-settings/set-up-two-factor-authentication/enter-code-auth.png" />
</Frame>

4\. Click **Log in**.

5\. Confirm the action in your authenticator app.

6\. You will be redirected to your personal account if the access code is entered correctly.

## Disable two-factor authentication

Go to the [My profile](https://portal.gcore.com/accounts/settings/user-profile) page and in the **Two-Factor authentication** section, click **Disable 2FA**.

<Frame>
  <img src="https://mintcdn.com/gcore/skpNuyMO2iioB7lV/images/docs/account-settings/set-up-two-factor-authentication/disable-2fa-section.png?fit=max&auto=format&n=skpNuyMO2iioB7lV&q=85&s=60c8c67d00c32b570e84bdacba12a79f" alt="Disable 2FA button on My profile page" width="1517" height="454" data-path="images/docs/account-settings/set-up-two-factor-authentication/disable-2fa-section.png" />
</Frame>

## View users with enabled two-factor authentication

The [All users](https://portal.gcore.com/accounts/settings/users) section in the Gcore **Profile** settings shows the two-factor authentication (2FA) status for each user. There are two options: **Not activated** and **Activated**. You can filter users by this criterion.
