I can immediately see how this would be useful for prototyping (and growing) a product! But it might be helpful to include a FAQ answering (at least) the following questions:
- Can user information be exported for clients who may want to build out their own solution later? If so, what does that story look like? - Can account management pages be customized/styled to match the clients' branding? - What parts, if any, of Clerk are open source? Do you have a github? - Do free tier users have a grace period to upgrade/migrate if they exceed 5000 MAU, or is user access cut off until they upgrade? - Where are you located, and are you targeting certain regions/countries for new hires? Also, the tier pricing is a bit opaque. The "professional" tier pricing appears to start at $49/month (for <= 1000 MAU) and scale to $4999 (for 100,000 MAU). The "enterprise" tier mentions a volume discount (which would suggest less than $0.05/MAU), but presumably the overall price increases? If that's not the case, why not allow clients to remain on the professional tier if they don't need features exclusive to the enterprise tier?
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.
On your backend, Clerk gives you a stable User ID for each user. You're free to use it as a foreign key in your database as you normally would. (clerk.dev runs on clerk, and that's how we do it internally) We only have a Node SDK so far - here's a guide on retrieving the User ID from your backend:
https://backend-docs.clerk.dev/quick-starts/next.js-api-rout... Soon we will launch a way to add custom attributes to the user object, as well as management of those attributes in the UI if desired. Things can get a bit murkier there, but those features will always only be opt-in.
Thanks for the reply! I think your last point is what worries me the most. I feel like it makes sense to tackle custom attributes, because you own the user management pages. But, I also feel like you're almost never going to be able to support the kind of flexibility customers will need if those fields are anything more than simply metadata.
It's nothing about Clerk specifically, it's just a problem with these kinds of products. I just worry that as your customers grow and scale, they naturally need to leave your platform (or downgrade to an auth-only solution). I'll definitely be curious to see how the product grows, though!
It's not documented yet, but our frontend components leverage an API that was built with the expectation that some developers won't like our designs, or will need something custom we can't accommodate. In those cases, using the API directly should offer the flexibility you need.
I’ve recently customized django-allauth to perform all modern expected user flows and it is actually a lot of work.
Allauth itself is opinionated, and some things were built based on expectations that are not reflective of today’s web apps. It can be done but the lift is much bigger than one might think. I also think one of the most important parts of django is user/auth. Seeing FastAPI and modern frontends continually advance, and now this user management service, I’d suggest that Django is getting unbundled. The missing part to me seems to be a stand alone ORM and something to replace traditional view/templates so existing django devs could onboard easier. Maybe these already exist or are in development? I really like Django, but I do feel like there has been too much emphasis on stability and not enough experimentation to integrate API and modern frontend work into core. I think some of this has to do with how unstable django was in its earlier days. Sort of a ptsd from that. However, what has been forgotten is that it also allowed the project to handle changing developer needs and take market share from Drupal and others. The best example I have seen of this problem is in the ecommerce package, Solear. If you listen to the project founders in the the 4/2019 Python podcast, “Building Scalable Ecommerxe Sites on Saleor” you can hear the use case of the project falling away as modern frontend is coming into focus. [1] The challenge is that was two years ago. I actually see this as a problem for Python even beyond Django. [1] https://www.pythonpodcast.com/saleor-ecommerce-episode-205/
I think Django has by far the best story here, so much built in or activated with simple plugins. It took us an hour to add 2FA.
On the other hand, looking at node.js it's really a dumpster fire[1]. Even when using passport, you are still back to writing the code to compare passwords at which point so much can go wrong. So there's a lot of scope for hosted services. This of course compounds the problem because those service providers are GREAT at SEO and content marketing, so now a lot of Google hits on nodejs auth end up recommending Auth0 &friends. [1] https://medium.com/hackernoon/your-node-js-authentication-tu...
I used PassportJS on a project last year, and a) it was a total nightmare to get it working, with very poor documentation and b) it does almost nothing. It's basically the "now draw an owl" meme of auth.
I've been building a Next.js app with a Django backend using django-rest-framework and dj-rest-auth. dj-rest-auth[1] handles auth and registration out of the box and takes no time to get up and running.
"Batteries included" Django is a no brainer for a lot of use cases. True. But clerk.dev seems to be targeting teams that use (javascript) microframeworks. They are building something people want and the pricing seems to scale well up to 100K users. If you have millions of users, I'm sure their enterprise team will give better deals than $0.05 / MAUs.
> the pricing seems to scale well up to 100K users
I'm not sure I agree. This isn't really an infrastructure cost, it's a direct COGS (cost of goods sold) cost, and hits the service's margin. For a SaaS business charging $10-1000 per month per user it's fine. For a retail business though I think this could be prohibitively expensive. Let's say you have a 10% conversion rate and $100 a year spend for customers, that's actually only $0.83 a month per active user. This is a 6% margin hit. Sure, maybe in retail you often don't need non-customers to log in, but maybe you do. Or maybe your active users correlate much more strongly with your paying users, but maybe they don't. Content-led, email newsletter style business could struggle with this pricing.
You would have to have all of your users (converting and non-converting) still logging in / using the service monthly for this math to work out, as they charge by monthly active users.. I'm sure this happens somewhere, and that's probably not the most ideal place for Clerk.
Literally just launching this for our site today. A bunch of boring Django views, a couple React <> Node apps for crazy fontend stuff, and a PyData ~flask app for backend. Django gives accounts + login screens + JWT/CSRF APIs, and the JS/PyData stuff just pass around CSRF/JWTs as usual. Reverse proxy does extra stuff, but not essential for security.
I would love to see allauth extended with some sort of React toolkit so we could do SPA logins without refresh. That seems like a much smaller lift..
I am actually astounded by the number of people on here who think this is a great product. I mean as a product it might indeed be quite good, but it also comes with the huge risk of you funneling your users into a third party company, who can then hold that as a knife to your neck (intentionally or unintentionally).
Sorry but the greatest user management experience in the world is not going to make me use this. Maybe, if there is some kind of mirroring back of all user data to some database I control, I might consider it. But even so, I don't think it's a great idea to give away all my user info to a third company. I'm sure it's covered as necessary for functionality,but what happens if tomorrow Clerk gets bought out by Facebook and they decide the database of my users is now theirs to target for advertising? Especially when the privacy policy a actually says they will collect and share personal information with their affiliates and subsidiaries. Nope, sorry not touching this with a 100foot pole. And I will go further and not use any company that uses this for their user management needs.
Comments (223) 44 threads
Earlier comments- Can user information be exported for clients who may want to build out their own solution later? If so, what does that story look like?
- Can account management pages be customized/styled to match the clients' branding?
- What parts, if any, of Clerk are open source? Do you have a github?
- Do free tier users have a grace period to upgrade/migrate if they exceed 5000 MAU, or is user access cut off until they upgrade?
- Where are you located, and are you targeting certain regions/countries for new hires?
Also, the tier pricing is a bit opaque.
The "professional" tier pricing appears to start at $49/month (for <= 1000 MAU) and scale to $4999 (for 100,000 MAU). The "enterprise" tier mentions a volume discount (which would suggest less than $0.05/MAU), but presumably the overall price increases? If that's not the case, why not allow clients to remain on the professional tier if they don't need features exclusive to the enterprise tier?
- Where are you located, and under what jurisdiction do you fall?
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.
On your backend, Clerk gives you a stable User ID for each user. You're free to use it as a foreign key in your database as you normally would. (clerk.dev runs on clerk, and that's how we do it internally)
We only have a Node SDK so far - here's a guide on retrieving the User ID from your backend: https://backend-docs.clerk.dev/quick-starts/next.js-api-rout...
Soon we will launch a way to add custom attributes to the user object, as well as management of those attributes in the UI if desired. Things can get a bit murkier there, but those features will always only be opt-in.
It's nothing about Clerk specifically, it's just a problem with these kinds of products. I just worry that as your customers grow and scale, they naturally need to leave your platform (or downgrade to an auth-only solution). I'll definitely be curious to see how the product grows, though!
It's not documented yet, but our frontend components leverage an API that was built with the expectation that some developers won't like our designs, or will need something custom we can't accommodate.
In those cases, using the API directly should offer the flexibility you need.
Allauth itself is opinionated, and some things were built based on expectations that are not reflective of today’s web apps.
It can be done but the lift is much bigger than one might think.
I also think one of the most important parts of django is user/auth.
Seeing FastAPI and modern frontends continually advance, and now this user management service, I’d suggest that Django is getting unbundled.
The missing part to me seems to be a stand alone ORM and something to replace traditional view/templates so existing django devs could onboard easier. Maybe these already exist or are in development?
I really like Django, but I do feel like there has been too much emphasis on stability and not enough experimentation to integrate API and modern frontend work into core.
I think some of this has to do with how unstable django was in its earlier days. Sort of a ptsd from that.
However, what has been forgotten is that it also allowed the project to handle changing developer needs and take market share from Drupal and others.
The best example I have seen of this problem is in the ecommerce package, Solear.
If you listen to the project founders in the the 4/2019 Python podcast, “Building Scalable Ecommerxe Sites on Saleor” you can hear the use case of the project falling away as modern frontend is coming into focus. [1]
The challenge is that was two years ago.
I actually see this as a problem for Python even beyond Django.
[1] https://www.pythonpodcast.com/saleor-ecommerce-episode-205/
On the other hand, looking at node.js it's really a dumpster fire[1]. Even when using passport, you are still back to writing the code to compare passwords at which point so much can go wrong. So there's a lot of scope for hosted services. This of course compounds the problem because those service providers are GREAT at SEO and content marketing, so now a lot of Google hits on nodejs auth end up recommending Auth0 &friends.
[1] https://medium.com/hackernoon/your-node-js-authentication-tu...
[1] https://dj-rest-auth.readthedocs.io/
I'm not sure I agree. This isn't really an infrastructure cost, it's a direct COGS (cost of goods sold) cost, and hits the service's margin. For a SaaS business charging $10-1000 per month per user it's fine.
For a retail business though I think this could be prohibitively expensive. Let's say you have a 10% conversion rate and $100 a year spend for customers, that's actually only $0.83 a month per active user. This is a 6% margin hit.
Sure, maybe in retail you often don't need non-customers to log in, but maybe you do. Or maybe your active users correlate much more strongly with your paying users, but maybe they don't. Content-led, email newsletter style business could struggle with this pricing.
I would love to see allauth extended with some sort of React toolkit so we could do SPA logins without refresh. That seems like a much smaller lift..
And what if you want to drop this vendor?
Sorry but the greatest user management experience in the world is not going to make me use this. Maybe, if there is some kind of mirroring back of all user data to some database I control, I might consider it.
But even so, I don't think it's a great idea to give away all my user info to a third company. I'm sure it's covered as necessary for functionality,but what happens if tomorrow Clerk gets bought out by Facebook and they decide the database of my users is now theirs to target for advertising? Especially when the privacy policy a actually says they will collect and share personal information with their affiliates and subsidiaries.
Nope, sorry not touching this with a 100foot pole. And I will go further and not use any company that uses this for their user management needs.
All comments shown.
Couldn't load more comments. Check your connection and try again.