Settings

Theme

Ask HN: Should you implement your own authentication system?

3 points by darumderum 5 years ago · 1 comment · 1 min read


How would you proceed to add a login to your website? Setup a database with bcrypted credentials? Use a service / oss? What are common pitfalls? What's your thought on Auth0, Azure AD B2C, Keycloak, ORY (especially Kratos) and others? Would you still recommand using a full-blown solution if there are just basic customer logins required (not even self registration)?

new_guy 5 years ago

Why would you not do it yourself? It's literally webdev 101.

If you offload it to a 3rd party you're giving them access to your entire customer base (regardless of what they say), you're also introducing multiple points of failure and increasing your attack surface.

Keyboard Shortcuts

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