Live data from Hacker News

Kratos - Cloud native Auth0 open-source alternative (self-hosted)

github.com

61–70 of 99 posts

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#61

Storing auth data in MySQL or Postgres is insane and defeats the purpose of trying to be secure. Note to self: if I ever need a retirement project, open sourcing a properly architected auth solution would be it.

if you are a masochist that is a great retirement project!

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#62
post #11
post #4

I've used [Keycloak]( https://www.keycloak.org/ ) in the past for "open-source Auth0" -- though I'm not sure it has ever described itself that way. Keycloak ended up being quite extensible and powerful, but the UI and data model both sometimes made things more difficult than they had to be... this could be an interesting project to look at. One bonus (for us) for Keycloak was that it was JVM-based, meaning it was eas…

Yea part of the motivation to create Ory Kratos was that Keycloak was too clunky and cumbersome for us to use, also hard to scale and a bunch of other issues - so we wrote our own basically. (i work for Ory as DevRel)

Oh, I wanted to escape the Kratos hell by migrating to Keycloak and you say Kratos was created to actually be a better alternative? Well I have to say I had a very hard time implementing browser flows, configuration is a mess, not everything working through yaml configs works as env var. Documentation is a mess. All in all, it took months what should have been weeks at most. Sorry for the negativity, but it is one of the software pieces I really wish I have avoided.

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#63
post #60

> Passkeys, Social Sign In, OIDC, Magic Link, Multi-Factor Auth, SMS, SAML, TOTP, and more. Sounds great! But buried further in the page, > Additional enterprise features that are not available in the open source version such as SCIM, SAML, organization login ("SSO"), CAPTCHAs and more

Check out Ory Polis if you want SAML/SCIM support: https://github.com/ory/polis CAPTCHA is not in scope for Kratos, there are already great solutions out there that you can use

Ory Polis also sounds great, but also suffers from:

> Organizations that require advanced features, enhanced security, and enterprise-grade support for Ory's identity and access management solutions benefit from the Ory Enterprise License (OEL) as a self-hosted, premium offering including: Additional features not available in the open-source version, Regular releases that address CVEs and security vulnerabilities, with strict SLAs for patching based on severity, Support for advanced scaling and multi-tenancy features.

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#64
post #4

I've used [Keycloak]( https://www.keycloak.org/ ) in the past for "open-source Auth0" -- though I'm not sure it has ever described itself that way. Keycloak ended up being quite extensible and powerful, but the UI and data model both sometimes made things more difficult than they had to be... this could be an interesting project to look at. One bonus (for us) for Keycloak was that it was JVM-based, meaning it was eas…

Tbh, I much prefer ORY's API first approach. I looked into Keycloak when I was trying to have a multi-purpose auth server that allowed me to peek into the auth flows.

The sheer complexity of Keycloak's configuration and deployment vs. something like ORY's Hydra was night and day.

And the fact that I could intercept the auth flow through a callback and use their RESTful API to drive it was amazing. No more "package this JAR" and hope that it works. Hydra would run on its own and I don't have to touch it, except when I have to upgrade it.

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#65
post #59

It might be poor taste to hijack another product's post but I would check out Authentik before commiting to any idP. It recently started to have enterprise only features lately but its licence ensures they are added to the open source product after a set time period. Super nice developer too.

It's not poor taste, it's good to compare

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#67
post #57
post #54

Earlier quoted context omitted.

You can use other parts of the Ory ecosystem to add these features, such as Ory Polis for SAML/SCIM support: https://github.com/ory/polis CAPTCHAs aren’t a big help anymore in my personal opinion, but you can easily integrate them on the frontend when using Kratos. The commercial offering just bundles all of this out of the box for you. If Keycloak fits your needs well and you see no room for improvement, that’s perf…

Aka "yep there's a sso tax"

Yup lack of sso is instant “no-go” for anyone willing to host own solution.

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#68

I tried to use Ory for my company and cannot recommend it. Zitadel has been far better

Without any arguments you bring absolutely zero to the conversation. For example, in a head to head I would prefer Ory because Go is more compatible with the stack I'm working with.

I have no interest in spending my time arguing about Authz

I'm just sharing this as a datapoint. Btw we hired someone who worked at Ory and use Go as well

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#69

Earlier quoted context omitted.

You can host authentik with one click in docker. It's super easy to set up

Ironically, their hard dependency on Docker is a showstopper for me - none of my systems run Docker Engine, they use containerd and Podman, neither of which are supported.

I hadn't heard of them, but I'm looking at their GitHub page now and they seem to support Kubernetes, which makes me think they must support containerd, right?

Re: Kratos - Cloud native Auth0 open-source alternative (self-hosted)

#70
post #6

Kratos is awesome, especially alongside Hydra, OathKeeper, and Keto. Super powerful combo, if not a little intimidating at first. There’s a LOT of configuration involved, but that’s to be expected if you want to host your own Auth0 replacement. Their dynamic forms stuff is really cool too, always liked how they chose to go about that. Only complaint I really ever had is that while their docs were overall serviceable,…

I've often wondered why there isn't a simpler identity provider service that does the thing that ~90% of applications need without all of the complex configuration.

The world of Auth has been made miserable with everything having to support OAuth2/LDAP/SSO/SAML etc., plus a million versions of access control, session configs, yadda yadda. Each of these has their own (usually legitimate) purpose, but also each one has to integrate with other providers that each don't follow and/or extend the spec in their own special way. And the pain goes on and on.

Obviously you can make a product that only does really good username/password auth for example, but there's always more pressure to implement more things for another use case.

Post reply on HN