Home

Keycloak or alternative?

$$8370
https://lemmy.world/u/reabsorbthelight posted on Mar 7, 2026 19:43

I have a Talos k8s setup now and I’m trying to add various services. I have discovered that my old htpasswd file won’t cut it for auth.

I want to host the following,

  1. WebDAV solution (currently sftpgo)
  2. Invidious
  3. *arr tools
  4. Bitwarden

Should I go with keycloak? Are there better auth services?

https://lemmy.world/post/43968686
Reply
$$8378
https://lemmy.horwood.cloud/u/mhzawadi posted on Mar 7, 2026 20:00
In reply to: https://lemmy.world/post/43968686

Keycloak is amazing for no money, I use it connected to my Google workspace.

https://lemmy.horwood.cloud/comment/2007389
Reply
$$8380
https://lm.boing.icu/u/huangrydude posted on Mar 7, 2026 20:06
In reply to: https://lemmy.world/post/43968686

I have been using Authentik for several years now, works great with k8s. Not sure about the difference between Keycloak and Authentik tho (feature vise)

https://lm.boing.icu/comment/1890520
Reply
$$8385
https://feddit.org/u/lwe posted on Mar 7, 2026 20:10
In reply to: https://lemmy.world/post/43968686

If you are not on the warpath with Webauthn I can highly recommend PocketID. It’s just so damn convenient. But note that the arrs don’t come with a good solution for oidc login. But you can use something like tinyauth or an auth forwarder in your reverse proxy.

https://feddit.org/comment/11898552
Reply
$$8386
https://lemmy.world/u/folekaule posted on Mar 7, 2026 20:10
In reply to: https://lemmy.world/post/43968686

For very simple Kubernetes and Docker environments, I’ve used Dex IdP with good results. It’s low on features, but easy to set up.

https://lemmy.world/comment/22535100
Reply
$$8406
https://piefed.social/u/0x0f posted on Mar 7, 2026 20:40
In reply to: https://lemmy.world/post/43968686

I used to love keycloak, but lately they’ve made changes that make client setup feel very complicated. I switched to authentik a while back and I feel it’s far easier to deal with. 

https://piefed.social/comment/10435966
Reply
$$8411
https://lemmy.world/u/ccunix posted on Mar 7, 2026 20:55
In reply to: https://lemmy.world/post/43968686

I’ve been using Authentic for a while now and it works very well. There is also a Teraform provider to manage it as code. I do mostly OIDC, but also use it as a proxy for a few things that do not support that and just need to be locked down (Esp home and longhorn dashboards for example).

The disadvantage is that it is not the lightest option. If that is important to you, look at Authelia.

https://lemmy.world/comment/22535639
Reply
$$8458
https://slrpnk.net/u/poVoq posted on Mar 7, 2026 22:23
In reply to: https://lemmy.world/post/43968686

https://github.com/lldap/lldap is much simpler.

https://slrpnk.net/comment/21123462
Reply
$$8518
https://quokk.au/u/hesh posted on Mar 8, 2026 00:29
In reply to: https://lemmy.world/post/43968686

I use Authelia and its worked perfect to put auth in front of my services, including OAuth

https://quokk.au/comment/3601382
Reply
$$8644
https://piefed.blahaj.zone/u/irotsoma posted on Mar 8, 2026 06:09
In reply to: https://lemmy.world/post/43968686

Keycloak has some learning curve, but it’s the best OpenID Connect client and the most configurable and feature rich open source SSO system with the fewest major issues that I’ve used. And I use traefik for a reverse proxy, so for things that don’t support SSO directly thomseddon/traefik-forward-auth works flawlessly with Keycloak to provide an auth layer to those apps.

https://piefed.blahaj.zone/comment/3639637
Reply
$$8702
https://lemmy.hogru.ch/u/JustTesting posted on Mar 8, 2026 09:03
In reply to: https://lm.boing.icu/comment/1890520

I feel Authentik is at the sweet spot between complexity/features (keycloak) and ease of setup (authelia)

https://lemmy.hogru.ch/comment/7803056
Reply
$$8726
https://programming.dev/u/moonpiedumplings posted on Mar 8, 2026 10:37
In reply to: https://lemmy.world/post/43968686

Authentik is definitely the best of all I’ve tried. It has the most features, supporting both ldap and oauth, and also has an official helm chart.

https://programming.dev/comment/22596450
Reply
$$8744
https://lemmy.world/u/reabsorbthelight posted on Mar 8, 2026 11:06
In reply to: https://programming.dev/comment/22596450

Yeah I just set it up. Amazingly straight forward. I still have PTSD from keycloak, so I’m glad there’s an alternative

https://lemmy.world/comment/22543799
Reply
$$8876
https://lemmy.ml/u/nfreak posted on Mar 8, 2026 15:46
In reply to: https://programming.dev/comment/22596450

It’s kind of funny, I initially tried Authentik and ran into issues getting it working, so I went with Authelia instead, but eventually went back to try Authentik again because I wanted to customize the CSS and felt I was outgrowing Authelia, and it just worked. Not sure what I was doing wrong the first time, but oh well.

I will say though the latest release has a major bug where worker instances are eating up db connections to the point where the entire thing crashes, so while I’ve generally been happy with it, definitely need to do some careful research before blindly upgrading.

https://lemmy.ml/comment/24409018
Reply
$$8900
https://programming.dev/u/moonpiedumplings posted on Mar 8, 2026 16:39
In reply to: https://lemmy.ml/comment/24409018

In addition to adding more worker instances, you can also increase the amount of threads each worker instance uses to vertically scale. It’s about equivalent to adding a worker instance.

https://programming.dev/comment/22600676
Reply
$$8932
https://lemmy.world/u/RonnyZittledong posted on Mar 8, 2026 18:15
In reply to: https://lemmy.world/post/43968686

I chose Keycloak because it seemed the most battle tested and least likely to just stop receiving updates and die and that is worth a lot to me. The most annoying thing for me was their storing usernames in lower case but after I figured out how to create custom SPI plugins I got that sorted out.

https://lemmy.world/comment/22549073
Reply
$$9024
https://feddit.org/u/silenium_dev posted on Mar 8, 2026 21:11
In reply to: https://lemmy.world/post/43968686

I’m on Keycloak + lldap for user provisioning and services that don’t support OIDC or SAML. I have yet to find a OAuth or SAML feature it doesn’t have. It does have a steep learning curve tho, so Authentik is maybe a better solution to get started with. I personally hit a wall with Authentik when I was trying to get different signature key algorithms for different services (some services have different supported set of key algorithms than others) and custom plugins for custom JWT fields and user attributes. I believe Authentik has something for extensions as well, but Keycloak is just Java, which has a much better development and deployment experience than throwing a .py or .js file in some directory and hoping it works.

https://feddit.org/comment/11913811
Reply