#55 most commonauthCursorWindsurfBolt.newReplitv0
Firebase: auth/unauthorized-domain
FirebaseError: Firebase: Error (auth/unauthorized-domain). This domain is not authorized for OAuth operations for your Firebase project.
Got a slightly different error? Paste the exact message and get a fix prompt tailored to it.
Paste your error →What it means
Firebase only allows sign-in from websites you've listed. Your live site's address isn't on that list yet.
How to fix it: paste this prompt into your AI builder
Fix prompt for Bolt, Cursor, Replit, v0, Windsurf
Firebase sign-in fails with auth/unauthorized-domain. Don't change code; tell me to add my production domain (and any preview domains) in Firebase console, Authentication, Settings, Authorized domains, and check that authDomain in the Firebase config is correct.
If the AI can't fix it: manual steps
- Firebase console, Authentication, Settings, Authorized domains, Add domain.
Where this happens
Seen in these AI app builders and editors:
CursorWindsurfBolt.newReplitv0
Sources
Related auth errors
Still stuck? Paste your full error and UnstuckMyVibe will match it and hand you the exact fix prompt.
Fix my error →