TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Your Node.js authentication tutorial is wrong

44 pointsby Sujanalmost 8 years ago

4 comments

hobarreraalmost 8 years ago
Authentication is hard. And that&#x27;s exactly why you should never have to be writing your own auth code, but rather, use existing frameworks.<p>There&#x27;s so many tiny details and edge cases that can have such catastrophic results, it&#x27;s too much of a risk to do it yourself. Unless writing auth frameworks is your job, for course.
评论 #14945054 未加载
评论 #14945389 未加载
camus2almost 8 years ago
&gt; Stack Overflow isn’t of too much help, as developer relations from a company called Stormpath loved plugging their IaaS startup on every imaginable post regarding this. Their documentation also popped up everywhere and they have a blogvertisement on password reset, as well. However, all of this is for naught as Stormpath is defunct, and it shuts down entirely August 17, 2017.<p>I remember these guys and I had a serious argument back them with one of the. I pity companies who bought into their services and depend on it today. People often push the idea that security and ID management should be &quot;outsourced&quot;. They shouldn&#x27;t, security audits should.
kennydudealmost 8 years ago
This is why I love Django. Django&#x27;s defaults seem to be sensible and &quot;just work&quot;
评论 #14946422 未加载
davidmurdochalmost 8 years ago
Has bcrpyt become the node standard? There&#x27;s no mention of pbkdf2, which I thought was NIST&#x27;s current recommendation.
评论 #14944982 未加载