Thursday, 14 March 2019

I've completed a course where a login system is manually implemented with Express, is something like Passport or JWT still useful?

I've following a node course at the moment and the authentication section of the course was implemented manually, using bcrypt.compare, adding "isLoggedIn" to the req.session and using a middleware in routes where applicable to check this variable.Is Passport, JWT and 0Auth still useful to me, do they provide things I need or are they just quicker ways of setting up authentication.Thanks in advance!

Submitted March 14, 2019 at 10:53AM by GabberJenson

No comments:

Post a Comment