DEV Community

Dillon Greek
Dillon Greek

Posted on

Best way to Authenticate users in Express

So I'm stuck. Like many things in the Js world. There is a million ways to do 1 thing. Not sure on the best way so I turn you DEV.to in hopes to find the answer. I have a simple blog site that I want to require admin login. I started with bCrypt and was going to use Passport then I started looking around at oAuth and others....Now I am lost. I feel that I should fully understand and know how user info is being hashed and every step of security be used. With oAuth you don't really have that. So to the point what is the "standard" way to deal with login and auth? JWT? Cookies? or some framework? #security #authentication #node #webdev #bcrypt

Top comments (0)