Short answer
The sign-in provider your code calls is disabled for this Firebase project. In the Firebase console, open Security, then Authentication, then the Sign-in method tab, and enable the provider: Email/Password, Email link, Phone, Anonymous or a social provider. For email link sign-in, Email/Password must be on as well.
Which provider is off, and the fix
01
The provider is disabled in the Firebase console
“The provided sign-in provider is disabled for your Firebase project.” Firebase, Admin Authentication API errors
Each sign-in method is a separate switch on the Sign-in method tab. Enable the one your code calls and click Save. We also check that the app’s Firebase config points at the project where you enabled it, since staging and production are often separate projects.
02
Email link sign-in needs two switches
“Note that email/password sign-in must be enabled to use email link sign-in.” Firebase, Authenticate with Firebase using email link
Passwordless email link sign-in is its own provider, and it only works when Email/Password is enabled too. Turning on one without the other still fails.
03
Phone or anonymous sign-in was never enabled
“To sign in users by SMS, you must first enable the Phone Number sign-in method for your Firebase project” Firebase, Phone authentication on the web
Phone and Anonymous are separate providers on the same tab. Code that calls signInWithPhoneNumber or signInAnonymously fails until each is switched on.
Checked against the vendor’s docs on : Firebase docs: Admin Authentication API errors; Firebase docs: Password authentication on the web; Firebase docs: Email link authentication on the web; Firebase docs: Phone authentication on the web; Firebase docs: Anonymous authentication on the web.
Rather hand it over?
Fixed scope, fixed price, paid upfront. The work happens in writing; no call needed.
- from $450App Fix TicketOne reproducible bug in an existing mobile or web app, diagnosed and fixed.See scope and start
- from $450AI-Built App RescueA Lovable, Bolt or Cursor app checked end to end in 3 days, then its worst problems fixed at a fixed price.No issues worth fixing, no charge. If the Launch Check finds nothing rated medium or higher, Simon refunds the full $450. You keep the report either way.See scope and start
Related: Firebase auth/unauthorized-domain · Supabase OAuth provider disabled · Firebase auth/invalid-credential · Firebase auth/requires-recent-login