Using Firebase multiple sites (ie. same project/authentication just different sites), I'd like to separate my public site from the main app without needing to log into both. ie. have the login form on one site, and using the auth token, have access to any other site within that Firebase project.
My main problem is that I'd like to keep my registration/login forms on the public site, however when authenticated, as the app is on a different connected domain, the token isn't available.
Some options I've considered but would like to avoid if a better solution exists:
1) Move the login form to the main app. It's currently in a nice modal on the public site, making it available on every page, which I'd like to keep.
2) Combine the apps (both are React). I'd keep them separated as it currently allows separated development and deployments work etc.
3) Lastly, I've read about minting my own tokens on my own server, but if I can avoid this I will.
Does anyone know if the above is possible?