Firebase Authentication Not working in Fire Studio

Problem Summary:
I’m building a web app on Firebase Studio and trying to set up authentication. The “Login” and “Signup” buttons in my app are not working — they don’t trigger the expected authentication flow. I can navigate to other pages, but the authentication part doesn’t function. The Firebase Emulator shows URLs like http://127.0.0.1:``..., but the sign-in process fails to complete.

Question:
How can I properly troubleshoot Firebase Authentication in Firebase Studio so that login and signup buttons work both in the emulator and after deployment?

1 Like

press the Authentication banner, select the “settings” tab, select “Authorized domains”, add there all the urls that take part in your work by using the “add domain” button. Refresh your emulator\deployed app, done!

I already attempted this, it didnt work

1 Like