Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Account switching in Firebase Console

I am not able to switch between my Google accounts in the Firebase console. I have 2 accounts, one for personal and one for work.

In the Firebase (https://firebase.google.com) page, the Google account dropdown (upper right) is populated with my accounts, but when I log in to the Console, it is always signed into my default, personal, account (https://console.firebase.google.com/) and I can not switch to my work account.

This happens even if I'm logged into my work account on the Firebase page and click the Console link. ?authuser=1 is appended to the URL, like in most Google applications when switching accounts, but it doesn't seem to work in Firebase Console.

Any reasonable suggestions? Making my work account my default account messes up a lot of other Google products I actively use (Music, Hangouts, etc)

like image 716
user2488234 Avatar asked Mar 11 '17 17:03

user2488234


People also ask

How do I use Firebase without a Google account?

Using Firebase requires that you as the developer have a Google account. But your app's users don't need to have a Google account, unless you want them to. In fact, if you don't use Firebase Authentication, you can work with completely unidentified users for most services.

What is default account for Firebase?

The Firebase console URL seems to default to the first Google account you're logged into.

How do I link Google Play to Firebase?

To link Google Play to your Firebase project: Sign in to Firebase. Click , then select Project settings. Click the Integrations tab. On the Google Play card, click Link. If your project is already linked, you see Manage instead.

What is the difference between Google Play app and Firebase app?

The app is registered with your Firebase project and your Google Play developer account. This means that you have both a Firebase Android App and a Google Play app. The app in Google Play and the Firebase Android App are both registered using the same package name.

Why ship your app with Firebase?

Ship cross-platform apps with ease. Firebase APIs are packaged into a single SDK so you can expand to more platforms and languages, including C++ and Unity, with Firebase as your unified backend. Trusted by the largest apps. Development teams around the world—including NPR, Shazam, Duolingo, and Venmo—use Firebase to ship their apps.

What are Firebase extensions beta?

Firebase Extensions BETA. Deploy functionality to your app quickly using pre-packaged solutions. Firebase Extensions are configurable, and work with Firebase and other Google Cloud Platform products.


2 Answers

It's really hacky, but you can work around the absence of an account-switching feature in Firebase console by manually editing the URL.

The Firebase console URL seems to default to the first Google account you're logged into.


https://console.firebase.google.com/u/0/project/....

Manually changing the number in the URL to the position of the Google account in the account switching dialog you might see with Gmail works for me. The number is zero-indexed, so use 1 for the second account, 2 for the third account...


https://console.firebase.google.com/u/1/project/....

like image 133
WeNeigh Avatar answered Sep 18 '22 15:09

WeNeigh


My answer is the same approach for all google products I use...

I use multiple browsers for multiple google accounts. I am logged into my work gmail account in chrome. I am logged into my personal gmail account in firefox. I have a 3rd rare dummy account I use edge for.

It sounds like work should be on Chrome for you since you use firebase and other important things that Chrome does well. Firefox is more than capable for music and hangouts (and non-dev stuff).

This is how I keep personal and work life separate. Close firefox when you need to get work done or vice versa. Works really well for me the last 5 years

like image 24
Thomas Kim Avatar answered Sep 21 '22 15:09

Thomas Kim