Settings

Theme

Ask HN: Should you roll your own auth?

1 points by ceezuns 6 years ago · 2 comments · 1 min read


Hi folks,

I know this question has been asked many times, but I see a lot of conflicting opinions, across the internet. I'm in no means a professional developer (i'm just a high school student).

I'm asking specifically for Ruby on Rails, but feel free to leave your general opinion as well.

Cheers!

tarun_anand 6 years ago

As with many questions the answer is "it depends"

If you are trying to learn authentication then yes go ahead and implement it.

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's stable and reviewed for security.

devillius 6 years ago

If you're dealing with production traffic and live credentials... NO!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection