| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/fundamentals/user-profiles/2fa/ | [Back] [Original] |
We recommend that all Cloudflare user account holders enable two-factor authentication (2FA) to keep your accounts secure.
2FA can only be enabled successfully on an account with a verified email address. If you do not verify your email address first, you may lock yourself out of your account.
Caution
Super Administrators can turn on 2FA Enforcement to require all members to enable 2FA. If you are not a Super Administrator, you will be forced to turn on 2FA prior to accepting the invitation to join a Cloudflare account as a member.
To enable two-factor authentication for your Cloudflare login:
Note
Cloudflare recommends that users enable at least two different 2FA factors, as well as safely store backup codes) to prevent lockouts.
Caution
Security keys only work with browsers that support the WebAuthn protocol.
A security key provides phishing-resistant multifactor authentication to your Cloudflare account using a built-in authenticator (Apple Touch ID, Android fingerprint, or Windows Hello) or an external hardware key (like YubiKey ) that connects to your computer through USB-A, USB-C, NFC, or Bluetooth.
Cloudflare recommends configuring multiple security keys. With multiple keys, you can still use 2FA if the primary key is unavailable or if you are working on a different device.
After enabling 2FA on your Cloudflare account, you can select Manage to configure 2FA security key authentication.
You can configure a built-in authenticator such as Apple Touch ID, Android fingerprint, or Windows Hello.
You can configure a security key, such as a Yubikey, to use with your account. Before you begin, ensure your hardware security key is configured and plugged in.
On a Windows device, you may need to set up Windows Hello or register your security key to your Microsoft account. Review the Windows documentation for more details.
Time-based one-time password (TOTP) authentication works by using an authenticatior app, such as Google Authenticator or Microsoft Authenticator, which generates a secret code shared between the app and a website. When you log in to the website, you enter your username, password, and the secret code generated from the authenticator app. The secret code is only valid for a short period of time, about 30 to 60 seconds, before a new code is generated.
[You can enable 2FA by scanning a QR code with your mobile device.]
Note
To avoid being locked out of your account, be sure to generate and save your recovery codes. If you forget your password and cannot receive the reset code or lose access to your phone with the authenticator app, you can use the recovery codes to access your account.
You can regenerate your backup codes at any time using the Cloudflare dashboard.
You may need to reconfigure your mobile application authentication if you join a new organization or lose access to your mobile device. When you reconfigure your mobile application authentication, your previous TOTP codes are invalid.
Note
Reconfiguring TOTP mobile application authentication does not turn off 2FA.
To reconfigure, follow Steps 1-7 as detailed above.
Email 2FA works by sending you a TOTP code to your email address. This is a good option particularly if you are concerned about losing a hardware based key.
Each backup code is one-time use only, but you can always request a new set of backup codes using the Cloudflare dashboard. This is useful if you have lost access to or used all of your previous backup codes.
Note
Regenerating your backup codes will invalidate your previous codes.
Log in to the Cloudflare dashboard.
Go to Account home ↗Select My Profile.
Select Authentication.
For Two-Factor Authentication, select Manage.
For Backup codes, select Regenerate to generate and save a new set of two-factor backup codes.
To disable 2FA for your Cloudflare account, you must delete all security keys and TOTP authenticators from your account.
Note
If you are not the Super Administrator of an organization with 2FA Enforcement enabled, you may not have permission to disable 2FA.
Log in to the Cloudflare dashboard.
Go to Account home ↗Select Profile.
Select the Authentication.
[how to disable your TOTP mobile application authentication.]
If you lose access to a mobile device, security key, or authentication code, you can solve these issues by using a backup code or retrieving a backup code from your preferred authentication app.
Refer to Google's documentation to transfer Google Authenticator codes from one Android device to another .
When setting up 2FA, you should have saved your backup codes in a secure location. To restore lost access using a Cloudflare backup code:
Retrieve the backup code from where you stored it.
Go to the Cloudflare login page , enter your username and password and select Log in.
Go to Account home ↗You should see a page titled Two-Factor Authentication
Note
Once you use a backup code, it becomes invalid.
| Web Proxy Viewer | New URL | Original Page |