Hi All
I’m building an app with AI studio. I’m trying to leverage firebase authentication but during preview I keep getting “Firebase: Error (auth/unauthorized-domain)” error. I’ve added multiple domain in authorised domain list but still the error persists. Any idea how to solve this?
Authorized domains:
“google_com”, “aistudio_google_com”,“googleusercontent_com”
xxx.scf_usercontent_goog
Using underscore to bypass 2 link rule of the forum.
hi @Parag_Patil ,
You are seeing the “auth/unauthorized-domain” error because your AI Studio app’s domain is not correctly added to Firebase’s Authorized Domains list. Go to your Firebase Console → Authentication → Settings → add the exact full domain shown in the error. Firebase Auth Domain Docs
Thanks!
Did you find a solution? The given answer here is not satisfactory. I have tried debugging and identified the domain used by the app run inside ai studio, but it wont work.
I’m having the same problem. It worked after deploying to Cloud Run and registering the domain with Firebase. But I don’t know what to do inside of AI Studio.