Firebase auth/operation-not-allowed Error
Quick answer
The sign-in provider you're calling is disabled for the project. Enable it in the console under Authentication > Sign-in method.
Most likely fix: Enable the provider
How to fix it
Try these in order — the most common fix is first.
1. Enable the provider
- Firebase console > Build > Authentication > Sign-in method
- Enable the provider and save
Did this fix it?2. Check the project config
- Confirm projectId and apiKey match the project you edited
Did this fix it?3. Check plan limits
- Phone Auth isn't available on Spark; upgrade to Blaze
Did this fix it?
Symptoms
auth/operation-not-allowed when signing in with email/password, Google, anonymous or phone.
Why it happens
- Provider not enabled in the console
- Using the wrong Firebase project's config
- Phone auth on Spark plan
This guide also covers
- auth/operation-not-allowed
- firebase operation not allowed
Still not working?
If Firebase keeps failing, you're not alone. See every Firebase problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All not loading, error messages & connection guides →
- Supabase Max Client Connections Reached (Supabase)
- MongoDB Atlas Connection Timed Out (IP Not Whitelisted) (MongoDB Atlas)
Other Firebase errors
- Firestore Missing or Insufficient Permissions (permission-denied)
- Firebase auth/invalid-api-key Error
- Firebase auth/network-request-failed Error
- Firebase auth/too-many-requests Error
- Firestore Quota Exceeded (resource-exhausted)
- Firebase Unexpected Bill on Blaze Plan
- Firebase Cloud Messaging Notifications Not Received
- Firebase Deploy Failed (Functions and Hosting)