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.
The identity provider configuration is not found.OPERATION_NOT_ALLOWED FirebaseFirebase: Error (auth/operation-not-allowed).Sign-in method is disabled 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
- Enable the provider in Authentication → Sign-in method
- Add authorised domains
- Confirm the project ID in the app config
Detailed fix by platform
Shell
firebase open auth # opens the console to Authentication > Sign-in method
How to diagnose
- Provider — Enabled?
- Project — Correct?
- 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:
Similar errors
- auth/account-exists-with-different-credential Firebase Auth: account exists with a different credential (same email, other provider)
- auth/email-already-in-use Firebase Auth: auth/email-already-in-use — The email address is already in use by another account
- auth/invalid-api-key Firebase: auth/invalid-api-key — Your API key is invalid, please check you have copied it correctly
Most viewed in Google Cloud / Firebase
- Missing or insufficient permissions Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions
- Container failed to start Cloud Run: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable
- 409: The resource already exists Compute Engine: ERROR: (gcloud.compute.instances.create) Could not fetch resource: The resource 'projects/p/zones/z/instances/vm-1' already exists
Other ways to find it
Where this error sits
Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):
🧠 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.
Report a correction or suggest an improvement
Last updated 18 Nov 2026