Monday 27 May 2019

What makes authentication so hard?

(Not really a nice js specific question)Authentication seems quite easy to me, literally every online guide says to use bcrypt or some other NPM hashing library to store passwords, taking only a few lines of code.My question is if it’s so easy to hash and compare passwords, when using one of these NPM libraries, what makes authentication so hard?It seems like quite a simple process but i know I’m missing a part of the picture because most backend developers I’ve spoken to say authentication is one of the hardest things to implement correctly but I just can’t get it.

Submitted May 27, 2019 at 11:13PM by jesster2k10

No comments:

Post a Comment