auth/operation-not-allowed Google Cloud / Firebase Origin: Platform & cloud OSI layer 7 · Application Last updated 18 Nov 2026

Firebase Auth: auth/operation-not-allowed — sign-in provider is not enabled

The sign-in method (email/password, Google, phone, anonymous) is disabled in the Firebase console.

Exact message you may see The identity provider configuration is not found.OPERATION_NOT_ALLOWED FirebaseFirebase: Error (auth/operation-not-allowed).Sign-in method is disabled
Seen on: Firebase JavaScript

Meaning

Enable the provider under Authentication → Sign-in method. For Google add the support email, for email link enable "Email link", and for Identity Platform features upgrade the project. Also check blocking-function settings.

Common causes

  • Provider disabled in the console
  • Anonymous auth off
  • Email link sign-in not enabled
  • Project not upgraded to Identity Platform (multi-tenancy, SAML)
  • Wrong project config

⚡ Quick fix

  1. Enable the provider in Authentication → Sign-in method
  2. Add authorised domains
  3. Confirm the project ID in the app config

Detailed fix by platform

Shell

  1. firebase open auth # opens the console to Authentication > Sign-in method

How to diagnose

  1. Provider — Enabled?
  2. Project — Correct?
  3. Identity Platform — Needed?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

auth/account-exists-with-different-credential — Firebase Auth: account exists with a different credential (same email, other provider) (Google Cloud / Firebase)auth/account-exists-w…auth/email-already-in-use — Firebase Auth: auth/email-already-in-use — The email address is already in use by another account (Google Cloud / Firebase)auth/email-already-in…auth/invalid-api-key — Firebase: auth/invalid-api-key — Your API key is invalid, please check you have copied it correctly (Google Cloud / Firebase)auth/invalid-api-keyauth/invalid-custom-token — Firebase Auth: auth/invalid-custom-token — The custom token format is incorrect or the token is invalid (Google Cloud / Firebase)auth/invalid-custom-t…auth/unauthorized-domain — Firebase Auth: auth/unauthorized-domain — This domain is not authorized for OAuth operations for your Firebase project (Authentication)auth/unauthorized-dom…auth/user-disabled — Firebase Auth: auth/user-disabled — the user account has been disabled by an administrator (Google Cloud / Firebase)auth/user-disabledid-token-expired — Firebase Admin: Firebase ID token has expired (auth/id-token-expired) in verifyIdToken (Google Cloud / Firebase)id-token-expiredauth/oper…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.