News for hackers. Stuff that matters.
Re:Auth0 Has been down for almost 4 hours now by streblo on Tuesday April 20, 2021 @05:39PM (#26882133)
Auth is both simple and hard to get right. It's virtually the same everywhere. One group of people getting it right is better than every company trying to figure it out for themselves. It's exactly the right thing to farm out to a 3rd party.

Only on HN will you be told "you're an idiot if you outsource your auth" and "you're an idiot if you roll your own auth" by the same group of people.

Re:Auth0 Has been down for almost 4 hours now by Can_Not on Tuesday April 20, 2021 @09:21PM (#26884310)
Most people are using something like laravel or rails that has auth scaffolding built in for you, so both outsourcing and rolling your own are obscure dirt road paths that are rarely suggested.
Re:Auth0 Has been down for almost 4 hours now by thinkharderdev on Tuesday April 20, 2021 @05:51PM (#26882289)
There's a difference though between farming out to a SaaS product like Auth0 and rolling your own. You should absolutely not try and write your own Oauth2 server unless you really, really know what you're doing. But there are a lot of options for self-hosted auth services that are rock solid and battle tested.
Re:Auth0 Has been down for almost 4 hours now by ThalesX on Tuesday April 20, 2021 @06:32PM (#26882785)
Do they also maintain themselves?
Re:Auth0 Has been down for almost 4 hours now by thinkharderdev on Wednesday April 21, 2021 @12:23PM (#26891739)
Depends on what you mean by maintain. If you use one of the well-supported open source solutions like Keycloak then it is very actively maintained with regular releases, bug fixes, new features (U2F support etc). But of course you need to run your own infrastructure (database, application servers, load balancer, maybe separate infinispan cluster if you want to go wild). If you don't have the operational capacity to do that then maybe a SaaS solution is right for you.
Re:Auth0 Has been down for almost 4 hours now by guerilla_prgrmr on Tuesday April 20, 2021 @06:56PM (#26883059)
Widely used open source projects like Keycloak do.
Re:Auth0 Has been down for almost 4 hours now by jjeaff on Tuesday April 20, 2021 @10:32PM (#26884781)
I have heard "never roll your own crypto". I've never heard "never roll your own auth".
Re:Auth0 Has been down for almost 4 hours now by TechBro8615 on Tuesday April 20, 2021 @11:41PM (#26885184)
It’s almost as if both approaches have legitimate tradeoffs.