I am learning Node.JS and I am trying to bring Firebase Auth into my application. With client-side firebase auth, you can just do firebase.auth().currentUser
but in node, as the script is not run on the client, but once on the server, you cannot use firebase.auth().currentUser
. Is there a way involving sessions or cookies (I think) to get user data and use normal Firebase Auth operations from node just like client side Firebase Auth?
(I am using express with Node)