Live data from Hacker News

Show HN: Clerk – all of user management as-a-service, not just authentication

clerk.dev

31–40 of 234 posts

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#31
I'm the founder of WorkOS (https://news.ycombinator.com/item?id=22607402) which is sort of close to this so wanted to share a thought or two.

WorkOS has taken the alternative design of ONLY doing authentication and explicitly not user management. This is a subtle but I think super important distinction so figured it could be useful to share why in this thread, especially for developers looking at auth solutions and thinking about their app's architecture.

Essentially in the market right now there are a bunch of user-management-as-a-service solutions (Auth0, FusionAuth, now Clerk) and all of them have a similar design. They provide hosted auth UIs and they "run" your user database. This gives them control of the identity layer of your app, and they are the "source of truth" for users.

This has some benefits (e.g. centralized admin) but in talking with developers, we actually found there are huge drawbacks which are not initially obvious.

The user database sort of the data holy grail. It's arguably the most important and sensitive data your app has. From a UX perspective, the sign-in UI is the "front door" experience. It's the one feature that literally every user touches.

In OP's post, they write:

"Best of all, the components will automatically update as our team optimizes their design, develops new features, and adds support for the latest in account security."

We found this was the LAST thing developers want. There are plenty of open source sign-in components (Tailwind, etc) but with Auth0/Clerk/etc. you never get full control over the UI. It's run by a 3rd party which may introduce random new features at any time. It's giving up a huge amount of control, both UI/UX and strategic. Plus you're always in the "uncanny valley" of design, where your auth screens feel slightly different than the core app experience. IT admins have trained users to avoid these sites because they are typically phishing attacks. Not good.

Even with all this, perhaps the biggest downside for developers is a longer-term issue: you get locked-in. If down the line you end up wanting to run authentication through an unsupported provider, too bad, you're stuck. This is how Auth0 gets you. Developers integrate early, all the users are in Auth0, and then it's too difficult or dangerous to migrate out later. You're held hostage. And this is when they raise prices like an authentication racket. ("You've sure got nice app here. Would be a shame if something happened to it...” etc.)

Obviously biased as I've founded a company in this space, but I think we've solved a lot of these issues with WorkOS, allowing for maximum flexibility with powerful authentication APIs while ALSO enabling developers to fully control the user database. It's been a super hard thing to get right and I should really write a longer blog post in itself. But just a forewarning to app developers: be careful where you store your user data.

PS: A misc secret for the HN crowd, we're actually launching 2-Factor Auth APIs tomorrow. ;) Zoom link here for the stream: https://lu.ma/workos-winter-release

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#32

Nice. If you could also add the ability to charge subscriptions from users and manage their subscription plans this would become a no-brainer. Also your pricing model could become very lucrative—you could charge a percentage of the revenue.

Definitely! We've found that developers want to apply subscriptions against either Users or Organizations, so first we're planning to build out Organization management first (create an org, invite members, setup SAML auth, etc).

Subscription management will follow sometime after, and will probably look like a Stripe integration that automatically creates Stripe Customer objects for your Users and Organizations. Is this along the lines you're thinking?

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#33
post #11

I'm even hesitant to trust Auth0 for this, why would I trust a new company?

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.

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 just authentication

#34
post #14

Really good stuff. The Next.js integration story is already really quite good[1] and the Clerk team has really good ideas on how to make it even better and more seamless. It's great to see a service focus on taking away all the pain related to user management, not just login. [1] https://frontend-docs.clerk.dev/react/quick-starts/next.js

Thanks Guillermo :) means a lot coming from you! We're really excited about the direction the development space is moving, next.js, react and frontend components are going to make full fledged web apps MUCH easier to make

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#35
post #31

I'm the founder of WorkOS ( https://news.ycombinator.com/item?id=22607402 ) which is sort of close to this so wanted to share a thought or two. WorkOS has taken the alternative design of ONLY doing authentication and explicitly not user management. This is a subtle but I think super important distinction so figured it could be useful to share why in this thread, especially for developers looking at auth solutions and…

Also colinclerk are you Colin Sidoti? If so I was a few years ahead of you at MIT and I think we totally we met a few times around when I was graduating. Small world! :D

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#36
post #24

Is the User schema[1] extensible? Can I add custom attributes or metadata to my users? [1] https://frontend-docs.clerk.dev/object-reference/user

Hey, Braden, one of the founders, very soon. This one is definitely low hanging fruit, and I actually want it as well for a side project I'm helping a friend with :)

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#38
What's the story around extensibility? I feel like it starts to get murky when the boundaries of data ownership are unclear. What if I have some bespoke user-level data that doesn't make sense for your system to store, but is massively important to my business (this feels to be the case for most products I build).

Can customers extend your UI components? Do they store that data with you? One of the nice parts about authentication only is that it's relatively well-defined and not a place where customers frequently have variable needs (outside of just data sources to auth against).

Cool idea either way though, and I like seeing more innovation in the space.

Re: Show HN: Clerk – all of user management as-a-service, not just authentication

#39

Hi HN - We couldn't be more excited to launch Clerk and help developers solve all of user management. It's been quite a journey to reach this point, with over a year of iteration on the developer experience before we found something developers love. Using Clerk will enable you to spend more time on your application, and less time worrying about the ever-growing list of user management concerns. Our team is listening…

Another question, I don't see any mention of security. You are in complete control of our users/profiles and their login credentials and there is zero mention of how secure that data is.

I forget what this effect is called. Every once in a while a new service comes along that tries to compete with Amazon and there is a huge cost of entrusting the new entrant.
Post reply on HN