Hi Jacob,
Thanks for replying. The use case is this:
There is an existing website with firebase app behind it, which is used by staff for the company to maintain various bits of customer information (keeping the explanation very simple).
I have been asked to create a second website that will be public facing, where the customers themselves will log in and perform certain functions.
At certain times we need information from both sources.
One option was to share the database between the two sites and segregate the data by function, but the owner had a strong preference to keep it separate for the time being at least.
On the face of it it seemed that was easily doable using the primary/secondary app feature, and indeed it works great server side, but asking users to login in twice doesn't really work.
As I mentioned I can get the secondary data server side but then we lose the real time goodness.
The other it seems is to merge the databases so we only need to authenticate once.
Thanks
John