I am using Firebase auth for authentication in my site,
I have mainsite.com where I am making the user loged in so show some basic info and have app.mainsite.com for detailed dashboard of all things
I implemented Firebase Email Password Login and Google OAuth in mainsite.com, but the loged in state doesnt shows in app.mainsite.com
I saw some solutions online, but there they were using backend and Firebase Admin SDK with token system and all, but i dont want to go for that complex task.
I also tried having app.mainsite.com in inframe in mainsite.com (Read somewhere), but nothing worked.
I had got an idea that on succesfull login in mainsite.com I will pass email and password to app.mainsite.com in url, which will log in while loading animation, this will work for email and password, but for Google OAuth, it will now work.
SO SUGGEST SOME SOLS!