I’m having trouble testing Google Authentication on a development URL provided by a Firebase Studio (Cloud Workstation) project.
Everything appears to be configured correctly — the “JavaScript origin” and “redirect URI” are properly set in the OAuth2 client inside the Google Cloud project linked to Firebase.
Also, the firebaseConfig in the codebase uses the correct domain.
Is this a known issue when testing Google Auth mechanisms in a cloud-based development environment like Firebase Studio?
Hi @Giovanni_Breccia ,
Authentication can only be used in Prototyper mode within the Firebase Studio app. The temporary urls that exists in the tool won’t allow you to test authentication any other way.
Have you tried to publish your app? It will also work on the published version.
Thank you for your reply. After some investigation, I realized I had missed the https protocol in an environment variable. After fixing that, I was able to successfully test Google Auth in both prototyper and preview mode. Thanks again!