Creating Google Firebase admin for developer use - firebase

I would like to assign myself as an admin to a client's Google Firebase account. I am creating a small website and need need access to his Google Firebase. Thus far, I have been using his UN and PW to login to his account.
Is there any way to assign myself as an admin on his Google Firebase account?

You can add collaborators to your Firebase project, from the Users and Permissions panel in the Firebase console. Here's an example from a project I'm working on:
Each user has a role in there, which controls precisely what they're allowed to do. The Owner is one of the broadest roles, and means the user has full access to the project.

Related

View authenticated users in Firebase Emulator when using multi tenancy

A project that we are building uses the Google cloud identity toolkit multi-tenant feature. We have two tenants that we are actively using. We interact with all of this through Firebase's authentication suite.
I've noticed that when using this the user accounts do not show up in Firestore's UI anymore. The same goes for the local emulator.
I know the user has been created because when I log in I get back the correct uid matching the user profile created in firestore that I can see in the local emulator.
I'd like to know if anyone can help me with one of the following:
Is there a way to manage the users created for a multi-tenant setup through the emulator?
Is there a way for me to use gcloud cli locally to manage the users that I have created locally?
Good news! The updated version of the emulator will show you tenants. Once you run the emulator, attempt to login as a user through a tenant, and your "auth" page will magically get a "Tenant" dropdown.
Bad news! The non-default-tenant users don't seem to persist by any export method I have discovered so far.
As for seeing those users in the firebase console, it's pretty easy, but an extra step. Under "authentication" in the firebase console, you should see a tenant dropdown.
If you open that, there will be a link "Other tenants can be managed in the Google Cloud Console". Click it, then click "users" on the left. Finally choose your tenant in the "Tenant" dropdown.

Firebase was cloned with another gmail account

My Firebase account was cloned with another Gmail account. The Firestore in cloud function with all the information of my client account is now cloned to my personal account. I have two Firebase accounts, one is for my client, were all live data is present and the another account is for learning purposes, but today when I opened both accounts in a separate tab, the client data and everything in the Firebase was incompletely cloned in my personal Firebase account also.
If I change a value in one of the Firebase accounts, it reflects on the other with the same value changed in the other account.
On the Top menu bar there will be dropdown to select the current project. Make sure you have selected the correct project

Unknown user in my firebase user authentication (Flutter/firebase)

I developed an app to test the google login feature using flutter and google authentication. The project is a closed project and only I have access to it. But recently I saw that there was a google sign in from an unknown Email ID. How did the user login without the build of my app? Has my account been hacked? What is going on?
Anyone with knowledge of your project's API Keys can access your Firebase Project using simple CURL Commands.
This is why it's a good idea to add restriction to those API Keys
In case you haven't, go to https://console.cloud.google.com and
Select your project
Click the menu icon at the top left (hamburger icon)
Go to API & Services and then credentials
You can view the APIs for your Google Cloud Project (linked to your Firebase Project) and then set restrictions for the API keys, refresh them or restrict access to specific platforms like Android or iOS.
You can also set restrictions on which components of Firebase the API key is allowed to access. For example, if your project doesn't require the use of Cloud Firestore, you can ensure that the API Key cannot be used to make calls to the Firestore Database
All said and done, I would still recommend that you shoot a mail to the Firebase Support team at https://firebase.google.com/support/troubleshooter/contact
To anyone still wondering about this:
If you provide a native google sign in and the registered
email adresses look like this:
karolynmccorkle.91842#gmail.com
normabrock.69306#gmail.com
guillermogeorge.53163#gmail.com
kylegomez.35423#gmail.com
opalbarrett.09499#gmail.com
they are probably test accounts used to generate Google Plays Pre-Launch reports.
You can read about it in the Play Console Help here.
If your app has a sign-in screen and you want the crawler to test the
sign-in process or the content behind it, you need to provide account
credentials.
Note that you do not need to provide credentials if your
app supports "Sign-in with Google,” which enables the crawler to log
in automatically.

How can I see and edit the User's Additional information from Firebase consol that was edited programmatically

I am using Firebase Authentication in my app. I used method like setDisplayName in my app so that user can change the user's name himself through the app. But, the problem is that I can't access this name through my console. I can't edit it. There are simple columns in Firebase console like,
identifiers,providers,UID,Providers,Signed In.
There is no column for User Name. How can I access this information through console?
The Firebase console shows only limited information about each user profile. The rest of the information is only available when you access the profile through a Firebase API, or export the data.
Keep in mind that Firebase provides Admin SDKs, which you can run on your development machine to accomplish simple administrative tasks such as this.

Creating and managing privileged users in Firebase via the console

Using Firebase I want to create different groups of users (i.e. users, admins etc) for my app. I've created some users via the console but I'm trying to find out if it's possible to assign roles to these users via the console too?
After some reading on their website firebase recommends using custom claims which can be encoded within a user's access token. This sounds perfect but the only way I can find to issue such claims is coding an app to access the admin SDK. Is there any way to achieve the same functionality but via the firebase console instead?

Resources