re: Which is the best practice for node user authentication and session handling? VIEW POST


I personally use JWTs that auto expire and need to be refreshed in small intervals. I save them in localStorage and/or cookies on the front end. I use passport at the back end. Has worked great for me on all different sorts of projects


Thank you for the answer, I really appreciate this. I will give it a try.

code of conduct - report abuse