News for hackers. Stuff that matters.
Re:Show HN: Clerk – all of user management as-a-service, not... by faeyanpiraat on Monday February 08, 2021 @04:01PM (#26070051)
I'm even hesitant to trust Auth0 for this, why would I trust a new company?
Re:Show HN: Clerk – all of user management as-a-service, not... by xyst on Monday February 08, 2021 @05:19PM (#26071008)
It's shiny and new, but the privacy policy stinks. It reminds me of Google's shady practices.

"8. Disclosure of Data

We may disclose personal information that we collect, or you provide:

...

Other cases. We may disclose your information also:

to our subsidiaries and affiliates; to contractors, service providers, and other third parties we use to support our business; for any other purpose disclosed by us when you provide the information;"

--https://clerk.dev/privacy

Who are these "subsidiaries" or "affiliate" companies? Data brokers?

From a company perspective it might be worth it to shave the 2-3 months to develop and perfect your own system. But from a user perspective, you are selling them out. Most people may not notice, but do you really want to risk the legal exposure or PR nightmare if their affiliate companies abuse this user data, or perhaps a subsidiary company leaves the data unencrypted in some db instance.

Re:Show HN: Clerk – all of user management as-a-service, not... by taytus on Monday February 08, 2021 @04:02PM (#26070068)
This is my question as well. It's an honest question and hopefully someone can educate me.

Why would anyone trust a third party with what is the most important asset, their users?

Thank you in advance.

Re:Show HN: Clerk – all of user management as-a-service, not... by tootie on Monday February 08, 2021 @04:14PM (#26070217)
I can answer with the opposite question. Why would you trust your homemade solution instead of heavily invested experts? Auth0 (and Okta and a thousand others) do nothing but auth and customer management and do it at 1000X the scale as most enterprises. They do it way better than your IT team could possibly do it. And support every cutting edge feature and potential use case. You can also get them to absorb indemnity for damages in case of a breach rather than absorbing the cost yourself. From my POV, you'd be nuts to try to own your own passwords if you're securing anything remotely valuable.
Re:Show HN: Clerk – all of user management as-a-service, not... by aidos on Monday February 08, 2021 @04:53PM (#26070686)
Both of the services you mentioned have had major outages in the past. Maybe it’ll never happen again, but your customers don’t want to hear about why they can’t currently do business because some service they don’t even know about, in which you’re hosting their data, isn’t working.

As ever, there are trade offs and you take the good with the bad.

Re:Show HN: Clerk – all of user management as-a-service, not... by sixstringtheory on Monday February 08, 2021 @05:13PM (#26070938)
Outages occur all the time. What difference does it make where exactly they're originating from if the end result is the same, from the end user's POV? You give them the same message in either case: "we're experiencing a temporary outage and are working on a remediation." I suppose you'll also be compensated according to contract SLAs, and if the hypothetical becomes actual, you can tune your contract renewal based on your observed losses in revenue accordingly.

Best case scenario, there's healthy competition in the space, providing more alternatives and allowing you to end your contract with them if the service sucks. Worst case scenario I guess is that the company implodes taking all its data with it, affecting untold amounts of businesses. A GDPR-like regulation stipulating the ability to export that data (so, user databases) would go a long way towards mitigating prolonged outages in that worst case, and in the best case of the worst case, their competitors are able to import the exports. And/or tools that can spin up a $database instance in $cloud.

Re:Show HN: Clerk – all of user management as-a-service, not... by bgdam on Tuesday February 09, 2021 @12:28AM (#26074216)
Have you seen the privacy policy for this service? Clearly not GDPR compatible. Simply using this means you cannot service the EU.

Also, if your issue is that owning your user passwords is difficult, then I'm sorry that's just the nature of the problem. It doesn't get any easier by offloading the problem to a third party. Bcrypting passwords is not rocket science anyway. MFA libraries exist for pretty much any server library you use.

Sure a company dedicated to doing user management will definitely do a better job than you, but only if your needs align with those of the majority of its users. The minute you want something custom,and trust me you will you're back to doing user management yourself. Only now you have a giant opaque blackbox to deal with.

Also, tomorrow if Google buys the company,I'll have 20 hours of notice to integrate my own user management before they shut it down. If Facebook buys it, they'll use my user data for targeting their advertising. Either way, I'm in deep trouble (If I care about my users, which I think most people will).

Even ignoring these, the simple fact is that by the very nature of the company, it is a much bigger target for people trying to break into and steal user information,than my little saas could ever be. I'd wager for most people using such services they'd be more likely to get hacked as collateral damage rather than being targeted.

Re:Show HN: Clerk – all of user management as-a-service, not... by dsr_ on Monday February 08, 2021 @05:36PM (#26071228)
If UnicornAuthorization manages ten billion credentials, one breach could kill the company... and severely wound every single customer.

If JaneService manages ten thousand credentials and has a breach, it could put JaneService out of business, but it won't affect MonicaSoft.

Re:Show HN: Clerk – all of user management as-a-service, not... by iovoid on Monday February 08, 2021 @08:37PM (#26072786)
You can have both (control over your data and expert backing) if you use open source solutions with an enterprise support plan (RedHat's model).
Re:Show HN: Clerk – all of user management as-a-service, not... by taytus on Monday February 08, 2021 @04:56PM (#26070731)
Because I'm a software engineer who has been building stuff like this for years...
Re:Show HN: Clerk – all of user management as-a-service, not... by ketzo on Monday February 08, 2021 @05:02PM (#26070817)
I mean, if you're an auth expert, that's awesome; but I think it's the absolute height of engineer hubris to pretend that the efforts of any one individual, no matter how talented and experienced, are able to match an entire organization of people who do nothing but this one thing.

Now, trusting this particular third-party? Definitely a big question mark! It's on them to earn your trust. But I think to say that third parties in general can't be trusted with your users is to be a little ignorant of the modern web engineering landscape. We trust a lot of people with a lot of things, and not in an unreasonable manner.

Re:Show HN: Clerk – all of user management as-a-service, not... by new_guy on Monday February 08, 2021 @04:33PM (#26070468)
Authentication is webdev 101. If you can't roll your own you're in the wrong industry.

I really can't think of any good reason to hand crucial control of a site over to any third party, much less user authentication where one breach will potentially cost you millions and land you in jail.

The whole business model seems to revolve around being a crutch for people not capable or competent of running their own services.

Re:Show HN: Clerk – all of user management as-a-service, not... by tootie on Monday February 08, 2021 @05:05PM (#26070853)
Building a form and hashing a password is webdev 101, but go look at the feature set offered by Auth0 or other CIAM platforms. Passwordless auth, MFA, compliance management, customer profiling, workflows, threat detection, analytics. And then think about how much they charge for doing this all for you out of the box versus hiring a dev team and running them forever to support it.
Re:Show HN: Clerk – all of user management as-a-service, not... by tschellenbach on Monday February 08, 2021 @04:38PM (#26070534)
Well, if you look at how many sites break auth, or something in the login flow... This is clearly not the case for most companies. Auth is definitely simpler than most problems, but plenty of teams get it wrong.
Re:Show HN: Clerk – all of user management as-a-service, not... by chickenpotpie on Monday February 08, 2021 @04:45PM (#26070605)
> I really can't think of any good reason to hand crucial control of a site over to any third party, much less user authentication where one breach will potentially cost you millions and land you in jail.

Because Auth0 and other providers have security experts specializing in prevent hacking attempts and there is no way you can do a better job than them unless you make it your full time job.

Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @05:16PM (#26070975)
or, you could just do passwordless email auth and not have any security issues whatsoever.
Re:Show HN: Clerk – all of user management as-a-service, not... by chickenpotpie on Monday February 08, 2021 @05:45PM (#26071327)
“Not have any security issues whatsoever” is literally impossible. Passwordless auth is the security equivalent of putting all your eggs in one basket. If someone hacks a users email account, now they have access to your service too. Now I’m pissed that you didn’t let me enable 2fa to prevent that or have multiple secure passwords to isolate the hack to my email. You could have just shelled out the 10 cents it would have cost to have my account in auth0 and prevent all of this with 2fa and fraud detection.
Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @06:21PM (#26071715)
just use a fake email?

you don't have to use your real email for everything, even google has forwarding addresses.

and apple has private/forwarding emails as well, so this is a moot point.

Re:Show HN: Clerk – all of user management as-a-service, not... by chickenpotpie on Monday February 08, 2021 @06:24PM (#26071759)
Forwarding email increases risk of being hacked. They only have to get one of the emails to get into my account.
Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @06:29PM (#26071804)
So you hack apple's private forwarding email service right, how would one get in?

I've even used G Mail's forwarding email for 6 years and I've never been hacked.

If you're concerned about this just use a fake email.

Re:Show HN: Clerk – all of user management as-a-service, not... by chickenpotpie on Monday February 08, 2021 @06:37PM (#26071883)
You’ve gone off on a personal tangent about how I as a user can increase my security. The topic of discussion was you claimed passwordless security had no security issues and I pointed out possible security issues. An individual can mitigate them, but they still exist
Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @07:12PM (#26072168)
> The topic of discussion was you claimed passwordless security had no security issues and I pointed out possible security issues.

But you claimed that the email can be hacked, I used an email forwarding service provided by google or apple.

So are you saying I can be hacked through this way, please provide evidence of this happening in a real world passwordless scenario.

> An individual can mitigate them, but they still exist

Again, I would be more convinced of real world evidence and statistics rather than theorising.

Re:Show HN: Clerk – all of user management as-a-service, not... by chickenpotpie on Monday February 08, 2021 @08:16PM (#26072663)
> But you claimed that the email can be hacked, I used an email forwarding service provided by google or apple.

I'm not arguing than an intelligent user can't get rid of security issues. I'm saying a product that uses passwordless login still has security issues. Not every user is going to do that and theyre gonna blame you when they get hacked.

> Again, I would be more convinced of real world evidence and statistics rather than theorising.

You first. You made the initial claim that passwordless login has no security issues. Systems should be assumed insecure unless proven otherwise.

Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @09:02PM (#26072985)
> I'm not arguing than an intelligent user can't get rid of security issues. I'm saying a product that uses passwordless login still has security issues.

Like what? you keep saying "still has security issues", but you don't give any real world examples. Just saying "still has security issues" is not a good argument.

> You first.

Lots of companies use this method in the real world, Slack, Medium, Freetrade, Substack, Monzo (a bank) and many more.

If a bank and a stock trading app is comfortable using this method, I am sure they are comfortable with the security of this method.

In addition, I already have given examples in this thread which you willingly choose to ignore.

Your turn, start with this:

> Forwarding email increases risk of being hacked. They only have to get one of the emails to get into my account.

Proof?

Re:Show HN: Clerk – all of user management as-a-service, not... by mynameisvlad on Monday February 08, 2021 @05:23PM (#26071062)
Sure, because “do passwordless emails” is just a snap of the finger away, right?

The point is that doing auth properly is hard. Sending an email might be easy, but creating and managing the session in a secure fashion is hard, even if you’re “just doing passwordless email auth”.

Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @06:25PM (#26071772)
> Sure, because “do passwordless emails” is just a snap of the finger away, right?

uh, yes?

https://magic.link/

> The point is that doing auth properly is hard...

it works just like password reset no?

there's not much state with passwordless email auth as opposed to passwords.

Re:Show HN: Clerk – all of user management as-a-service, not... by mynameisvlad on Monday February 08, 2021 @07:08PM (#26072140)
This whole comment thread is about not outsourcing your user management stack to a third party and your intended suggestion is.... A different third party?

I don't think I understand exactly what your argument is.

Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @07:15PM (#26072195)
You said:

> Sure, because “do passwordless emails” is just a snap of the finger away, right?

And I showed it literally is.

The choice is yours to reimplement this authentication system, but in terms of "a snap of the finger away", You can do that, That is all.

I've done these type of systems before at scale and it took minutes to do (works just like a password reset mechanism) and it is very trivial.

In your original comment above, I think you are projecting this a bit too much.

Re:Show HN: Clerk – all of user management as-a-service, not... by chickenpotpie on Monday February 08, 2021 @08:32PM (#26072753)
Top comment: why would you trust a 3rd party with accounts?

Next Comment: Because they are better at security

Your comment: Or you can do passwordless yourself and have no security problems

Next comment: You can't just do passwordless with a snap of the finger

Your comment: Yeah just use a 3rd party

You're incorrect about the thread

Re:Show HN: Clerk – all of user management as-a-service, not... by mynameisvlad on Monday February 08, 2021 @08:43PM (#26072840)
Ok it’s not just me then. I felt like I was taking crazy pills when reading the replies, and the ones to the sibling comment thread where they pivoted to talking about personal security with magic links when this entire conversation has been about companies implementing user management solutions.
Re:Show HN: Clerk – all of user management as-a-service, not... by yannoninator on Monday February 08, 2021 @09:10PM (#26073053)
This is a very reductionist assessment of the thread and glosses over one important detail I said here:

> The choice is yours to reimplement this authentication system, but in terms of "a snap of the finger away", You can do that, That is all.

It doesn't matter if it's a 3rd party, it is still an option that exists "a snap of the finger away", which was my response to that comment, this type of system can be done in an hour, 3rd party or library.

But if you want to speed things up, then there's your solution.

That was the point, but go ahead and try and reduce and spin this to your own interpretation.

Re:Show HN: Clerk – all of user management as-a-service, not... by mooreds on Monday February 08, 2021 @04:22PM (#26070325)
Hiya,

First off, full disclosure: I don't work for Clerk; I work for a competitor which offers overlapping functionality, FusionAuth: https://fusionauth.io

I think a sibling comment laid it out well. It's a tradeoff. You are giving up some control over how your users are stored for significant acceleration of functionality. We've had customers say we saved them 1-2 person months of time in initial build, never mind ongoing maintenance.

Would you build an app using a database managed by someone else? Isn't data a crucial asset? Some call it the new oil, I've heard. Yet lots of people choose to use an outsourced database provider. Auth is more user facing than a database, but if you can get the data out, what's the difference?

That said, you should pick your own comfort level. Other options include self hosting (there are commercial and OSS solutions which you can run on your own hardware).

You should also have a frank conversation with any providers about their security posture (sounds like the Clerk folks are going to add some docs to their site about this, which is great.)

Another consideration: you want the ability to export your users should you want to move services. People who aren't self hosting with FusionAuth can get a database export from us, for example, if they want to migrate.

Re:Show HN: Clerk – all of user management as-a-service, not... by hmsimha on Tuesday February 09, 2021 @01:56PM (#26081218)
> Another consideration: you want the ability to export your users should you want to move services. People who aren't self hosting with FusionAuth can get a database export from us, for example, if they want to migrate.

It's not even worth evaluating at the free tier without this. I asked in their slack and they said they intend to support this, which is promising (though sounds like it's not implemented yet)

Re:Show HN: Clerk – all of user management as-a-service, not... by camhart on Monday February 08, 2021 @04:20PM (#26070300)
Most of the auth platforms I've used allow ways for you to migrate users off of their platform. You'd want to make sure at minimum you have their email address, but worse case scenario you'd require all users do a password reset essentially when you switch to the new auth provider. That's a horrible experience--but it's still an option. Better options actually allow you to migrate the user over as they login. You'd need to keep the "old" auth service around for a while though until you close the door on migrating.

There's also an argument to be made that companies like this could (certainly not guaranteed) employ security experts and have better implementations (through libraries) as a result. Those implementations could (if updated appropriately), yield a more secure auth solution. In that regard, going with a third party, who has expertise, could be "better".

Also, unless you're going to host your database that stores user data on prem, you're likely trusting a cloud with it.

If I missed the point of your question I'm sorry. Did my best to answer. I have no relation to any of these services, other than I've used some at times throughout my career.

Re:Show HN: Clerk – all of user management as-a-service, not... by kache_ on Monday February 08, 2021 @04:09PM (#26070155)
It's much more lucrative for authentication/authorization/user management SaaS companies to build trust with their customers than to exploit that trust.

Furthermore, with the economies of scale, there can be more investment done on security & protection of users by a common element. Think of it as a collection of companies pooling their resources on a single engineering team which is responsible for building a rock solid authentication system with many useful features. This helps little guys build on top of something which has the same efficacy as auth services that large companies can afford to build.

At the end of the day, it's a trade off.

Re:Show HN: Clerk – all of user management as-a-service, not... by bsid on Monday February 08, 2021 @04:13PM (#26070209)
Hey, Braden one of the founders. It's a good question, and a question that gets asked a lot. Out of curiosity would you trust a more established company like Auth0 or Firebase? We hope to gain developers trust over time, and we want to build a tool that makes it dramatically easier to build out session management, and a lot of these user flows.

A similar question that was asked only a few (10?) years ago, was "why would I trust a third party with my credit card data?" And now it's something that people don't think twice about, because of all the regulatory challenges around storing credit cards, and how bad a breach is.

We see auth, and more generically, basic user data, as a corollary to that. With User Data regulations popping up in different countries (GDPR/CCPA), in the next 5-10yrs, we think it will become pretty common place to use a service to offload some of these gnarly responsibilities.

Re:Show HN: Clerk – all of user management as-a-service, not... by ziftface on Monday February 08, 2021 @05:09PM (#26070891)
I can't speak for anyone else, but I would trust a service like this a lot more if i could easily export all my data. I would do so on a regular basis, basically as a backup.

The other concern is what happens if you shut down or decide to change your plan to be prohibitively expensive? (I'm not implying that's the case for you, but it's a consideration that has to be made). There have been vendors in the past that have abruptly shut down without warning, leaving their customers scrambling to build or find alternatives. In all honesty, I'd rather build an authentication system from the beginning than having to take my service down at a critical time.

This is actually a really interesting product though, and i would definitely consider it on future projects.

Re:Show HN: Clerk – all of user management as-a-service, not... by bsid on Monday February 08, 2021 @06:55PM (#26072038)
Thanks for the comment and consideration. Noted on exporting, glad to know that would help on the trust front. Definitely something we should prioritize. Gaining trust is hard, and something we hope to do over time. We of course don't want to shut down, and want to be a go-to for small projects, which would mean keeping pricing low. We think we'll be able to do that by up-charging on the B2B feature set.
Re:Show HN: Clerk – all of user management as-a-service, not... by rapnie on Monday February 08, 2021 @04:38PM (#26070530)
> would you trust a more established company like Auth0 or Firebase?

Auth0 maybe. Firebase is created by an advertising agency, so no.

Re:Show HN: Clerk – all of user management as-a-service, not... by taytus on Monday February 08, 2021 @04:57PM (#26070750)
You didn't answer my question.
Re:Show HN: Clerk – all of user management as-a-service, not... by notJim on Monday February 08, 2021 @06:07PM (#26071573)
I have limited dev cycles, and would prefer to work on my product rather than google "how long does password reset token need to be" and writing auth forms.
Re:Show HN: Clerk – all of user management as-a-service, not... by sschueller on Monday February 08, 2021 @04:27PM (#26070396)
Also, is this permitted under the GDPR?
Re:Show HN: Clerk – all of user management as-a-service, not... by renewiltord on Monday February 08, 2021 @04:58PM (#26070768)
Yes, you (the "data controller") use them as a "data processor" and if they act compliant with the requirements of one, you're all well. Stuff like this is what the "data processor" definition is for.
Re:Show HN: Clerk – all of user management as-a-service, not... by sofixa on Monday February 08, 2021 @04:56PM (#26070734)
As long as clerk.dev are compliant, and you make sure of that, yep, you can delegate them data and keep yourself in compliance.