re: [Advice] Options to Handle Users in Node Express User dashboard instead of Okta or Auth0 3rd Party Service VIEW POST

FULL DISCUSSION
 

"Add user authentication" is sort of "build a webapp 101" in most backend framework's (Django, Rails, Laravel etc), except there aren't that many resources around that for Node since the most widely adopted frameworks are pretty much just routers.

You could roll your own Auth with a couple of tables (user table, sessions table), using bcrypt to hash/salt the passwords (unnecessary if you only do social logins), I personally use sequelize as an ORM but that's not required.

Or as Stephen said, use passport.js, haven't used it personally but it seems like the goto in the Node community.

code of conduct - report abuse