Every time a new user connects to my node js server, server updates every users cookies that is currently connected to the server

Hey I have a node js server and it is using firebase auth to get uid for every users and I am storing that uid as cookies and every time any user connects to the server whether they log in or sign up the server updates cookies of every user that is currently connected to the server and because of that every user gets logged in as the new user that just signed in

Thank you for the reply. I know that was a big problem but it is solved now and sorry for the late reply

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.