Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple firebase databases with one firebase authentication

I built a web platform that allows users to signup with one user account to multiple web apps. Each app has its own separate firebase database. Is it possible to use firebase authentication and to share the same authentication between the various firebase databases? I mean like single sign on to multiple firebase database via one user base.

like image 498
Assaf Sheep Avatar asked Feb 02 '17 17:02

Assaf Sheep


People also ask

Can two apps use same Firebase?

Yes, You can use the same firebase database in more than one android application as below: In the Project Overview section of Firebase Console add an android application. For adding this application first you need to give that package name. Download config file in JSON format.

How do I create a multiple realtime database in Firebase?

Create multiple Realtime Database instances In the Firebase console, go to the Data tab in the Develop > Database section. Select Create new database from the menu in the Realtime Database section. Customize your Database reference and Security rules, then click Got it.

Can I use two Firebase for my website?

However, when you want to access multiple projects from a single application, you'll need a distinct Firebase application object to reference each one individually. It's up to you to initialize these other instances.


1 Answers

Please read this recent blog post on the Firebase blog. It addresses various scenarios where all your data is not in a single project.

like image 86
Doug Stevenson Avatar answered Oct 19 '22 08:10

Doug Stevenson