DEV Community

Discussion on: Build An Authentication system with node, express, and MongoDB

Collapse
 
corelhas profile image
Carlos Orelhas

That's a good example of an Authentication with nodejs and mongoDB, I just use bcrypt to encrypt the password, this way, you don't work with a plain password but only with encrypted passwords.

Collapse
 
exadra37 profile image
Info Comment hidden by post author - thread only visible in this permalink
Paulo Renato

Please read my reply to see why you shouldn't roll your own Authentication, and why this is not a good example of doing it.

Some comments have been hidden by the post's author - find out more