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.

Ask HN: Should you roll your own auth?

1 pointsby ceezunsalmost 5 years ago
Hi folks,<p>I know this question has been asked many times, but I see a lot of conflicting opinions, across the internet. I&#x27;m in no means a professional developer (i&#x27;m just a high school student).<p>I&#x27;m asking specifically for Ruby on Rails, but feel free to leave your general opinion as well.<p>Cheers!

2 comments

tarun_anandalmost 5 years ago
As with many questions the answer is &quot;it depends&quot;<p>If you are trying to learn authentication then yes go ahead and implement it.<p>But if you are trying to build a commercial grade product, then your best bet is to use a 3rd party library or commercial service that has been tested and it&#x27;s stable and reviewed for security.
devilliusalmost 5 years ago
If you&#x27;re dealing with production traffic and live credentials... NO!