# Issue Testing Google Auth in Firebase Studio (Cloud Workstation)

**URL:** <https://community.firebasestudio.dev/t/issue-testing-google-auth-in-firebase-studio-cloud-workstation/17078>\
**Category:** Authentication\
**Created:** [July 22, 2025, 9:36am UTC](https://community.firebasestudio.dev/t/issue-testing-google-auth-in-firebase-studio-cloud-workstation/17078 "2025-07-22T09:36:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni\_Breccia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/giovanni_breccia/32/9344_2.png) [@Giovanni\_Breccia](https://community.firebasestudio.dev/u/Giovanni_Breccia)\
**Post date:** [July 22, 2025, 9:36am UTC](https://community.firebasestudio.dev/t/issue-testing-google-auth-in-firebase-studio-cloud-workstation/17078/1 "2025-07-22T09:36:12Z")

</div>

Hello,

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?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![dms](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/dms/32/8270_2.png) [@dms](https://community.firebasestudio.dev/u/dms)\
**Post date:** [July 24, 2025, 5:12pm UTC](https://community.firebasestudio.dev/t/issue-testing-google-auth-in-firebase-studio-cloud-workstation/17078/2 "2025-07-24T17:12:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Giovanni\_Breccia](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/giovanni_breccia/32/9344_2.png) [@Giovanni\_Breccia](https://community.firebasestudio.dev/u/Giovanni_Breccia)\
**Post date:** [July 29, 2025, 7:34am UTC](https://community.firebasestudio.dev/t/issue-testing-google-auth-in-firebase-studio-cloud-workstation/17078/3 "2025-07-29T07:34:45Z")

</div>

Hi @dms

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!
