nuxt-community / firebase-module

🔥 Easily integrate Firebase into your Nuxt project. 🔥
https://firebase.nuxtjs.org
MIT License
641 stars 98 forks source link

Firebase Auth SSR stops working after functions is added #528

Closed hilmerx closed 3 years ago

hilmerx commented 3 years ago

I've set up a Nuxt-project with SSR and Firebase as in the guides in the documentation.

Everything's working just fine until I add Firebase Functions to my nuxt.config.js, at that point, no matter which settings I use in the Functions config, "onAuthStateChangedAction" is called client side with {authUser: null, claims: null } but is set correctly server side.

How do I work around this or fix this problem?

tibs245 commented 3 years ago

The onAuthStateChangedAction is setted to null after refresh page ?

Supposed bug: https://github.com/nuxt-community/firebase-module/issues/465

lupas commented 3 years ago

No answer from author for 3 weeks, closing the issue.