but firebaseStore.auth()
is defined, and I enabled the password signin for the store. onAuthStateChanged
seems just disappeared.
I tried to execute this before the route gets established as well as in a router call after passing the firebase instance into it.
I wonder what else I can do further to debug this?
I found this article Firebase Admin SDK - Current Logged In User - Nodejs But it did not help me to resolve the issue.