Sign in with Google

I can not get Sign in with Google to work in my app.

To make sure something in my app is not interfering with that part, I have made a new project, just to see if Studio can actually make Sign in with Google work (and use Firebase Authentication). Note, I have made that working in over 10 previous projects. So I know it is possible and used to work quite well during the last 2 months.

Now my new super simple project has just a home page, login page and a page you land when you are logged in. I have enabled billing, added all the project URLs to GCP Console, Firebase, etc. I simply can not get Sign in with Google to work on the last 2 projects. Did something change or am I still missing something (getting old)?

Just a note: The Sign in with Google actaully works when you are in Prototyper. But on a preview URL or site published to Hosting, I get this error (as per image).

This has more to do with your browser settings and certain browsers blocking pop ups. The sign in with redirect method is more reliable, although that still fails a lot lol. Good luck.

1 Like

Try switching to “vibe coder” mode (a.k.a. prototyper) to sign in.

Also, be sure you have the domain accessible from within Firebase Console.