Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Firebase App Authentication

In my project we have a sort of admin frontend app that manages data from children apps. Each child app has its own firebase database and the admin app has stored information on its own firebase database on how each child firebase app is structured and such. In addition, each client firebase app has its own Android and iOS clients that reads data from the realtime database.

The authentication on the admin app is done through username/password login and are only available to some pre-registered users.

The question is

How can I properly authenticate the signed-in user on the client apps? Is there a way to re-use the current ID Token to sign in to other apps?

One solution I can think of is making a backend just to generate JWTTokens for each child app, but there should be an easier way to obtain what I want...

like image 471
ImNotAnUser Avatar asked Jan 16 '26 19:01

ImNotAnUser


1 Answers

Now you can have multiple apps in one Firebase project. That way, your users can easily sign-in and modify their User information in both apps.

Note: Well, it's been more than a year since this question asked. But, hopefully you already found the answer.

like image 87
Yosi Pramajaya Avatar answered Jan 19 '26 10:01

Yosi Pramajaya



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!