vendredi 4 mars 2016

Nodejs Do I need to use Passport

Alright, so I'm currently coding a Web Application with Node.js, and I'm a bit stuck on how I should handle user logins/authentication.

Lots of tutorials seems to recommend using Passport for your Authentication, but from all the documentation I've read, it seems to take a bit of setting up and it complicates the simple login I was expecting.

If use Passport or not, I still plan on encrypting my user passwords in my Mongo Database.

So the question is, do I actually need to use Passport for security reasons, or can I just code an Authentication system my self?




Aucun commentaire:

Enregistrer un commentaire