Lurker News

Comments (223) 44 threads

QUFB1 reply#
It's not an especially good look, although I see in the past few minutes HSTS has been enabled!
SahAssar#
It's the same as before, clerk.dev does not have it and dashboard.clerk.dev had HSTS when I checked first too. HSTS is sorta irrelevant for .dev though since all of .dev is on the preload list in major browsers. I'd be more worried about the third party JS without SRI. Especially since including third party JS is an active choice while not having headers is an inactive one.
colinclerk1 reply#
Thank you for calling out the headers. We'll work to resolve right away.

And agreed on the CDN JS. We'll move these assets to the customer's domain.

qwantim11 reply#
It’s a great idea, but your company is going to be a serious target. You not only will have the ability to control authN, but you’ll own authR also if you’re managing users and groups. You’ll also own all the conference rooms, printers, servers, etc., since you’ll be hosting Active Directory for the Windows folk... at least that’s how I’d understand user management for auth.
SahAssar3 replies#
Is authR another way to say authZ? I've never heard of authR and a quick google seems to mostly show a cloudflare project and stuff related to the term "author".

Continue this thread — 3 replies

markdown2 replies#
> For me it is also a red flag to include third party CDN JS

Why anyone would use third party js for anything other than dev work is beyond me. Are people really building websites that can serve html, images, and css, but not js?

hn_throwaway_99#
There was the use case at one point that serving a version of a popular 3rd party JS framework from a CDN would result in the likelihood of that file being able to be served from the browser's cache, because there would be a decent chance the end user had visited some other site that used the same popular framework.

That no longer works, see https://www.stefanjudis.com/notes/say-goodbye-to-resource-ca... and https://developers.google.com/web/updates/2020/10/http-cache...

XCSme1 reply#
I think that most 3rd party providers say "DON'T HOST THIS FILE LOCALLY AS IT WILL BREAK WHEN WE MAKE UPDATES".
markdown3 replies#
Which of course makes no sense. Why would any action they take have anything to do with a website that isn't hosting their files.

Continue this thread — 3 replies

presentation#
Also eyeballing the team, looks like nobody in particular has a security background. Worrisome...
jerrac11 replies#
So, first, congrats on launching your product. :) Personally, I don't have a need for it, and if I did, I'd be very reluctant to use a proprietary service, but I'm sure there are companies out there who will be happy to use you. Good luck!

------------
That said, maybe the HN community can answer something I've wondered about... Why isn't there an Open Source, standardized, self-hosted, version of this kind of service? Or, why hasn't one, or two, options emerged that everyone uses and I would have heard of by now?
User management, authentication, and authorization, are all problems that have been solved in many apps, and there are plenty of best practices. So, just like you shouldn't roll your own hashing algorithm, I'd think we'd want to do the same with this. It would make sense for one of the open source companies or organizations like Canonical, RedHat, Apache or Mozilla to have at least tried to do this.
The closest I can think of to an attempt is Persona...
Anyway, just been wondering about this for a while, and thought I'd take the opportunity to ask.

digaozao1 reply#
I have been using it for a year. No problems so far, and found it to be really flexible
TedDoesntTalk#
Keycloak FTW. Been using it for 18 months now in production.
afrodc_#
Keycloak is great and pretty extensible on a per basis need.
mamcx#
I have found confusing then support for multi-tenants and your own auth tables (ie: put the auth tables in the schema of each tenant?) across the board. Exist one project where I can do both?
znpy#
keycloak is great, it's very flexible and fairly lightweight (all things considered).

it can get a bit complex, but to be fair the whole oauth/oauth2.0/openid/openid-connect/saml is quite messy in general.

aryamaan#
Very tangent question but someone could help as the discussion is about Keycloak.

In particular, I am trying to solve the problem of how I can share client secrets (so they can generate access token using it) with the respective clients.
I don't want to share them over email/ password protected doc.
I tried making one client for each realm and adding one user to it. When I login via user account using GUI, I am unable to see any info related to clients.
What am I doing wrong here?
What are the good practices around this?
Thanks kind folks

jokethrowaway#
I second ory, that's pretty much a solved problem in my book.

Fast self contained binaries, easy to interface with Kubernetes.
Adding some UI around them and managing them via api is nice enough.
The only incognita is whether they're going to handle scaling (I hope I'll have this problem one day).
Hydra is for OpenId though, I'd point to Kratos + Oathkeeper.

eins12341 reply#
I've been looking into SuperTokens lately. It's very new, but super promising imo: https://supertokens.io/
advaitruia#
Thanks! Cofounder of SuperTokens here - please let us know if you have any feedback or questions. I can be reached at advait @ supertokens.io
keerthiko1 reply#
ever since facebook acquired, then liberated Parse [0], it kind of fulfills this role.

You can roll any subsystem of it and use off-the-shelf providers for other subsystems (we pay a service to host the server, but we run our own dashboard server to poke into it, others run their own database and use just the API server, etc), but I suppose it's easiest if you run the whole parse backend as a whole.
[0]: https://parseplatform.org/

vineyardmike#
I’ve always wondered why parse was never more popular as a backend for people hosting personal and small scale stuff?
3np#
Maybe one of these fit your bill: keycloak, freeipa, gluu - they all have a bit of different scope and approach
robertlagrant#
I'm keeping a close eye on ory.sh - it's an open source auth as a service that plugs into k8s etc nicely as well.
franciscop#
"Why isn't there an Open Source, standardized, self-hosted, version of this kind of service? Or, why hasn't one, or two, options emerged that everyone uses and I would have heard of by now?"

Because it is a lot of hard, strict and continuous work. Specially if you want - and you kinda need to, if you want anyone to use you - to provide customization for: styling, different databases, languages (both programming and natural), login methods (SSO, email, etc), email delivery systems, user fields, etc.
So people building open source generally will just solve their own problem and might share that, not solve a problem space one up with all of these combination complexity mess. The most "standard" open source I know is Passport.js, but it only solves the problem of login methods.

necovek#
Canonical Identity Provider (https://launchpad.net/canonical-identity-provider) behind Ubuntu SSO is free software, but the documentation is lacking (it's an openid provider with oauth support for application tokens; not sure if it's been moved to openid connect). To get proper users and groups, you'd needed to extract Launchpad Registry from Launchpad itself (https://launchpad.net/launchpad), though I think some "teams" functionality was added to Identity Provider itself.

In general, if more sites grew proper OpenID auth vs justa subset of providers, we'd see more people run their own OpenID servers to authenticate against external services.
Basically, for an open source/free software service to succeed in this area, it needs to allow both federated and SaaS model because that's how free software people are :) And federated is hard because nobody accepts pure OpenID anymore (and it's funny: you'll trust an email address but not a URL as a unique identifier). But it's probably how hard it was to get working that's the issue.

jerrac#
Thanks for all the replies. Sorry I'm a bit late responding.

So, there are options, some I now remember hearing of before.
I'm still interested in more of you thoughts on why they don't have a wider adoption rate.

silexia#
Laravel (php) and Django (python) both have easy open source user and auth management.
Rauchg2 replies#
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

bsid#
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
giacaglia#
It looks great!
colinclerk9 replies#
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 in this thread and we're happy to answer any questions.

dubcanada1 reply#
Just wonder price wise, if I signed up for the free and then switched over to paid it would be $249 for 5000 MAU.

Compared to say Auth0, which would be $114 for 5000 MAU.
The only difference is profile, and Auth0 mostly covers it by allowing you to easily store metadata.
I am not sure I understand what makes Clark worth 2x Auth0?

ukulele2 replies#
Just wait until you find Userfront, which does the same thing for free until 10k users
tylermenezes#
Sometimes you get what you pay for. Personally I would not want my data managed by a company that doesn't even have a team page or mailing address (let alone security details) and appears to be using a Bootstrap template for their website.
OliverGilan1 reply#
Just looked it up. I don't know how I've never come across this. Reading the docs quickly it seems like this is cheaper and easier/more intuitive to set up than any other auth service. Will definitely be trying it with my next project, thank you.

Continue this thread — 1 reply

Continue this thread — 8 more replies

Load more comments