I am looking to find a simple way to maintain a user's session with firebase auth and be able to get the user's UID from Node and also sign in and out users. I need a way to do this with Node.JS so if anyone knows a way to do this then it would be most appreciated.
I have tried using the standard functions like firebase.auth().currentUser
from Node but I get errors saying TypeError: firebase.auth is not a function
. This is predictable because there could be multiple users logged in at once on the same server.
Thanks in advance for your help, I really appreciate it :-)