Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Account Security, Two-Factor Authentication, SSO, and Recovery

How to sign in, enable 2FA and SSO, save backup codes, recover a locked account, and keep Cloudflare account and domain access.

This page summarizes Cloudflare documentation on protecting dashboard accounts: sign-in methods, two-factor authentication (2FA), multi-factor email challenges, single sign-on (SSO), and what to do when credentials or second factors are lost. Cloudflare treats dashboard access as critical infrastructure; lockouts from missing 2FA are a top support reason.

Sign-in options: email, SSO, and social login

Section titled “Sign-in options: email, SSO, and social login”

The Cloudflare dashboard supports email and password, SSO when an administrator has enabled it, and social login (Apple, Google, GitHub) for accounts with a verified email that are not on SSO.

Social login allows you to sign in with a trusted 3rd party sign in service such as Apple, Google, or GitHub. Social login is only available for accounts with a verified email address, or accounts that signed up via social login initially.

— Cloudflare, Log in to Cloudflare

If you log in with SSO, you cannot use social login on the same user account. Social-only accounts may have no Cloudflare password until you complete Forgot your password? to set one—required for some actions such as enabling 2FA or creating API tokens.

Sign in with GitHub uses your GitHub primary email; changing that email in GitHub breaks GitHub login to the same Cloudflare account.

After a successful sign-in, you may save up to five login profiles per device (email, login method, last-used profile in the browser). See Saved login profiles for returning users.

Two-factor authentication (2FA): factors, backup codes, and enforcement

Section titled “Two-factor authentication (2FA): factors, backup codes, and enforcement”

2FA adds something you have (app, key, or email code) to your password. Cloudflare recommends enabling it for every account holder.

Two-factor authentication (2FA) is one of the best ways to protect your account from the risk of account takeover.

— Cloudflare, Introducing email two-factor authentication

Factor Strength / use Loss risk
Security key (WebAuthn, e.g. YubiKey, Touch ID) Phishing-resistant Misplaced key or wrong device
TOTP mobile app Strong; short-lived codes Lost phone without backup
Email 2FA Low friction; loss-resistant vs hardware/TOTP Depends on email account security

Hardware keys and TOTP are very secure but can lock you out if the device is lost—Cloudflare added email as a 2FA factor as a common fallback that still beats password-only login.

Accounts using dashboard SSO cannot configure dashboard 2FA on that SSO user; identity checks move to your IdP.

  1. Log in to the Cloudflare dashboard.

  2. Open My Profile → Authentication → Two-Factor Authentication → Set up.

  3. Add Mobile App Authentication, Security Key Authentication, and/or Enable under Email Authentication as described in Two-factor authentication.

  4. Complete backup code download or copy when prompted.

2FA requires a verified email address; enrolling without verification can lock you out. Social sign-up users must set a password via password reset before 2FA enrollment (Set-up 2FA).

Super Administrators can enforce 2FA for all members; invitees must enable 2FA before joining.

Cloudflare recommends that users enable at least two different 2FA factors, as well as safely store backup codes) to prevent lockouts.

— Cloudflare, Two-factor authentication

Backup codes (recovery codes) are one-time codes for login without your phone or key. Regenerating them invalidates the previous set (Two-factor authentication — Regenerate backup codes).

The most common reason users contact Cloudflare support is lost two-factor authentication (2FA) credentials.

— Cloudflare, Automated reminders for backup codes

Download them under Profile → Security & Authentication → Backup codes. Store them in a password manager or a safe physical copy.

Store your backup codes securely. A password manager is the best place since it keeps the backup codes encrypted, but you can also print them and put them somewhere safe in your home.

— Cloudflare, Introducing email two-factor authentication

At login, if prompted for a security key, cancel browser prompts and choose another method or a backup code (Use a backup code).

Multi-Factor Email Authentication (login from new IP)

Section titled “Multi-Factor Email Authentication (login from new IP)”

Separate from optional user-enrolled 2FA, Multi-Factor Email Authentication challenges logins from unrecognized IP addresses with a one-time email code (30-minute expiry). After success, that IP is trusted for 90 days.

Email MFA can only be disabled by enabling two-factor authentication

— Cloudflare, Multi-Factor Email Authentication

Users without 2FA may be prompted at login to enroll in email 2FA (New 2FA Experience for Login); enrollment remains optional but encouraged.

Cloudflare dashboard SSO is free on all plans for users who sign in with a custom email domain and a compatible identity provider. SSO is enforced for every user in that email domain.

Single sign-on (SSO) streamlines the process of logging into Cloudflare for Enterprise customers who manage a custom email domain and manage their own identity provider. Instead of managing a password and two-factor authentication credentials directly for Cloudflare, SSO lets you reuse your existing login infrastructure to seamlessly log in.

— Cloudflare, SSO for all

Configuration is available in the dashboard at Manage account → Members → Settings (Single sign-on now manageable in the user experience), not only via API.

From Set up dashboard SSO limitations:

  • Plus-addressed emails (e.g. example+2@domain.com) cannot use SSO.
  • You cannot delete the auto-generated Zero Trust allow email domain policy without blocking admin dashboard access.
  • Multiple domain policies may require a second SSO connector.

IdP-initiated SSO is supported; bypass paths exist if SSO login fails (see the same document’s bypass section).

Account recovery when 2FA devices and backup codes are lost

Section titled “Account recovery when 2FA devices and backup codes are lost”

Use Account recovery only when you cannot generate a 2FA code and have no backup codes. You need a device Cloudflare has seen before.

  1. Log in to the dashboard → Account home → Two-Factor Authentication → Try recovery on Lost all 2FA devices and backup codes? → Begin recovery.

  2. Enter the temporary access code sent to your account email → Verify email → Verify device.

  3. If Device verified, wait 3–5 days for email with full regain-access steps (not expedited).

  4. If verification fails, try a previously used device and stable cookies, or Request manual verification.

Cookie clearing, new IP addresses, anti-malware tools that wipe cookies, or browsers that clear cookies on exit often cause Device verification failed. DNS lockout while the account is inaccessible is covered in General DNS issues (refer to account recovery).

Password, email, and account ownership continuity

Section titled “Password, email, and account ownership continuity”

From Email address and password:

  • Forgot password? — logged out only; reset email from no-reply@cloudflare.com or noreply@notify.cloudflare.com within ~20 minutes.
  • Forgot your email? — enter domain name; Cloudflare emails the address on file for that domain.
  • SSO users cannot change authentication settings or email the same way as password users.

For business accounts, Create account recommends a shared team alias (e.g. cloudflare@example.com) for billing, notifications, and recovery—but Account and domain management best practices also warn against only using a distribution list if support must reach a person with mailbox access. Prefer decentralized access to the registration email, multiple administrators, and documented continuity if an account holder is unavailable.

Have at least two administrators in case one of them unexpectedly leaves your company

— Cloudflare, Introducing email two-factor authentication

Decentralize access to your account.

— Cloudflare, Account and domain management best practices

Ensure domain registrant and vendor accounts are in the organization’s name; save 2FA backup keys; use a password manager and unique passwords.

If recovery or verification messages never arrive, follow Not receiving emails from Cloudflare: confirm profile email, allow noreply@notify.cloudflare.com, and use the Support Portal for bounce-related blocks.

If you see suspicious activity, Secure compromised account directs you to change password and enable 2FA; broader controls (sessions, audit logs, SCIM) are listed under Account security.

  • Enabling TOTP or a security key without saving backup codes (primary lockout cause).
  • Clearing cookies or switching networks before account recovery device verification.
  • Using GitHub social login after changing GitHub’s primary email (Sign in with GitHub).
  • Expecting support to disable 2FA after lockout without recovery flow completion.
  • Creating a team account on one person’s personal email with no second admin (best practices).
  • Signing up with Apple Hide My Email then changing Apple ID—Cloudflare documents permanent loss of login options in Log in to Cloudflare (Sign in with Apple).
  1. Sign in to the Cloudflare dashboard and open My Profile → confirm Email Address shows (verified) per Verify email address.

  2. Under Authentication, confirm 2FA factors and that backup codes are saved or recently regenerated (Two-factor authentication).

  3. For custom domains, review Manage account → Members → Settings for SSO status (Set up dashboard SSO).

  4. Send a test message to your profile email and confirm noreply@notify.cloudflare.com is not blocked (Not receiving emails from Cloudflare).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.