Firebase Simple login sessions are saved using LocalStorage or SessionStorage, which are tied to the source HTML5, which is a tuple of the scheme, host and port, so by default it is not used by subdomains.
However, you can manually enable this in your application by creating a shared LocalStorage system using the methods described here. Can HTML5 and localStorage databases be shared with subdomains? .
source
share