Firebase auth/operation-not-allowed Error

Share
Ongoing Web, iOS, Android Updated November 13, 2026Based on 2 user reportsHow we research

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. 1. Enable the provider

    1. Firebase console > Build > Authentication > Sign-in method
    2. Enable the provider and save
    Did this fix it?
  2. 2. Check the project config

    1. Confirm projectId and apiKey match the project you edited
    Did this fix it?
  3. 3. Check plan limits

    1. 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 us
Fixed it? Share this guide

The same problem in other apps

All not loading, error messages & connection guides →

Other Firebase errors

All 10 Firebase errors and fixes →