Lurker News

Comments (223) 44 threads

Show all comments

Showing thread 11 of 44

faeyanpiraat3 replies#
I'm even hesitant to trust Auth0 for this, why would I trust a new company?
taytus6 replies#
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.

kache_#
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.

bsid3 replies#
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.

rapnie#
> would you trust a more established company like Auth0 or Firebase?

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

taytus#
You didn't answer my question.
ziftface1 reply#
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.

Continue this thread — 1 reply

tootie6 replies#
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.
new_guy3 replies#
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.

tschellenbach#
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.
chickenpotpie1 reply#
> 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.

yannoninator2 replies#
or, you could just do passwordless email auth and not have any security issues whatsoever.
mynameisvlad1 reply#
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”.

yannoninator1 reply#
> 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.

mynameisvlad1 reply#
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.

yannoninator1 reply#
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.

chickenpotpie2 replies#
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

mynameisvlad#
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.
yannoninator#
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.

chickenpotpie7 replies#
“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.

Continue this thread — 7 replies

tootie#
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.
aidos1 reply#
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.

Continue this thread — 1 reply

taytus1 reply#
Because I'm a software engineer who has been building stuff like this for years...

Continue this thread — 1 reply

dsr_#
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.

iovoid#
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).
bgdam#
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.

camhart#
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.

mooreds1 reply#
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.

hmsimha#
> 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)

notJim#
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.
sschueller2 replies#
Also, is this permitted under the GDPR?
sofixa#
As long as clerk.dev are compliant, and you make sure of that, yep, you can delegate them data and keep yourself in compliance.
renewiltord#
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.
xyst#
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.