Home

Easiest to set up IAM solution? (OIDC, OAuth2, SSO, etc.)

$$17314
https://feddit.org/u/Lemmchen posted on Mar 24, 2026 23:06

I’ve just looked at some tutorials for Keycloak and Authentik and there’s definitely a very steep learning curve for these two solutions. I feel like I need something a lot simpler to be able to fully grasp the concept.

What is the easiest solution for beginners to implement Sigle-Sign-On for their selfhosted services?

https://feddit.org/post/27575572
Reply
$$17320
https://lemmy.zip/u/Chaser posted on Mar 24, 2026 23:15
In reply to: https://feddit.org/post/27575572

I like Pocket ID. It’s also very simple to set up and just works™

https://pocket-id.org/

https://lemmy.zip/comment/25470149
Reply
$$17324
https://discuss.online/u/badlotus posted on Mar 24, 2026 23:21
In reply to: https://feddit.org/post/27575572

I use Authelia. I found it pretty easy to set up. They even provide guides with examples on how to integrate with other applications. For instance, I use Traefik for my reverse proxy: Traefik | Integration | Authelia

https://discuss.online/comment/21635903
Reply
$$17323
https://lemmy.world/u/HybridSarcasm posted on Mar 24, 2026 23:21
In reply to: https://lemmy.zip/comment/25470149

+1 for PocketID

https://lemmy.world/comment/22850311
Reply
$$17330
https://feddit.org/u/Lemmchen posted on Mar 24, 2026 23:24
In reply to: https://lemmy.zip/comment/25470149

I’d live to use PocketID, but I fear my users aren’t really set up to use passkeys (they’re awesome!) and I assume they wouldn’t work on the Android TV Jellyfin client (has anybodz experience with that?).

https://feddit.org/comment/12195067
Reply
$$17332
https://slrpnk.net/u/poVoq posted on Mar 24, 2026 23:25
In reply to: https://feddit.org/post/27575572

https://github.com/lldap/lldap

Or maybe: https://gitlab.com/yaal/canaille

https://slrpnk.net/comment/21431586
Reply
$$17335
https://lemmy.zip/u/Chaser posted on Mar 24, 2026 23:27
In reply to: https://feddit.org/comment/12195067

That may be a problem, because Pocket ID works with Passkeys only. But you can also configure Emails, so your users can get one time login links.

Regarding Jellyfin: You can login on your phone using oidc. On the TV you can use Quick Connect then

https://lemmy.zip/comment/25470382
Reply
$$17341
https://feddit.org/u/Lemmchen posted on Mar 24, 2026 23:35
In reply to: https://lemmy.zip/comment/25470382

If they can use their phones to log in with passkeys this might just work, hmm. I’ll definitely take a closer look at that then. Thank you!

https://feddit.org/comment/12195235
Reply
$$17349
https://programming.dev/u/moonpiedumplings posted on Mar 24, 2026 23:44
In reply to: https://feddit.org/post/27575572

Void auth, or kanidm look like easier alternatives.

https://programming.dev/comment/22912895
Reply
$$17353
https://piefed.social/u/in_my_honest_opinion posted on Mar 24, 2026 23:50
In reply to: https://feddit.org/post/27575572

What’s the difficulty with keycloak? I just set this up last weekend

https://oneuptime.com/blog/post/2026-03-18-run-keycloak-podman-container/view

https://piefed.social/comment/10674399
Reply
$$17362
https://fedia.io/u/fonix232 posted on Mar 25, 2026 00:07
In reply to: https://lemmy.zip/comment/25470382

Technically true, BUT.

PocketID does offer a fallback to a numeric code for clients that don’t support passkeys (e.g. most embedded webviews on mobile).

For those, you simply need to navigate to the PocketID interface (for less technically adept people you can put it on the home screen on their phones), and click the big center button “Create” in the “Login Code” section (see attached screenshot).

Unfortunately these login codes are long lived (10-15 minute I believe?) and aren’t OTP compatible so you can’t just register it in a code provider to use whenever needed.

https://fedia.io/m/selfhosted@lemmy.world/t/3650821/-/comment/14497431
Reply
$$17365
https://fedia.io/u/fonix232 posted on Mar 25, 2026 00:09
In reply to: https://lemmy.zip/comment/25470382

Also, Jellyfin supports LDAP backing, so OP could set up PocketID with an LLDAP backing server (minor extra complexity). Managing passwords will still be a chore as PocketID does not support neither setting them up nor syncing it with LDAP (it can read and authenticate LDAP users, not write them), but then Jellyfin can work without the OIDC plugin, just using the LDAP login approach.

https://fedia.io/m/selfhosted@lemmy.world/t/3650821/-/comment/14497449
Reply
$$17366
https://feddit.org/u/Lemmchen posted on Mar 25, 2026 00:15
In reply to: https://piefed.social/comment/10674399

I think this might be on of those cases where the TUI is actually easier to understand than the WebUI. In the WebUI there are tons of terms I’ve never even heard before, but this actually looks kinda straight forward. Thanks!

https://feddit.org/comment/12195730
Reply
$$17367
https://feddit.org/u/Lemmchen posted on Mar 25, 2026 00:20
In reply to: https://fedia.io/m/selfhosted@lemmy.world/t/3650821/-/comment/14497449

Yeah, I’ve just realized that Jellyfin doesn’t have native OIDC support and requires a third-party plugin for that functionality. Maybe going all-in instead on a LDAP solution is the right way then? But I think most common selfhostable software only supports OIDC and not necessarily LDAP. I might be wrong though.

https://feddit.org/comment/12195796
Reply
$$17368
https://piefed.social/u/in_my_honest_opinion posted on Mar 25, 2026 00:24
In reply to: https://feddit.org/comment/12195730

Oh absolutely! I try to always start from cli and config files first personally so keycloak made a lot of sense to me. Good luck with whatever you choose.

https://piefed.social/comment/10674712
Reply
$$17374
https://l.roofo.cc/u/chris posted on Mar 25, 2026 00:41
In reply to: https://feddit.org/post/27575572

I honestly didn’t find authentik very complicated. You can be up and running pretty much after starting it. I used docker to run it.

https://l.roofo.cc/comment/13597665
Reply
$$17375
https://lemmy.world/u/MrPnut posted on Mar 25, 2026 00:41
In reply to: https://feddit.org/post/27575572

Oidc is easier to implement than SAML. Oauth2 is for authorization (vs authentication). Its used along with Oidc, but Oidc is the authentication piece (the SSO part)

I say Oidc is easier to implement because it is json based (jwt token) vs SAML which uses XML, which is very verbose and has stuff like namespaces and xsd’s which can make XML a pain to work with.

I’d suggest you stick to keycloak and set up Oidc. This is a good tutorial https://medium.com/@buffetbenjamin/keycloak-essentials-openid-connect-c7fa87d3129d

https://lemmy.world/comment/22851337
Reply
$$17388
https://lemmy.zip/u/Chaser posted on Mar 25, 2026 01:25
In reply to: https://feddit.org/comment/12195235

Jellyfin is actually the only self hosted service I don’t use LDAP or OIDC on purpose. Jellyfin is used only by me, my wife and sometimes a guest. So I just created the accounts by hand. I did so, because I want empty passwords there, so we can easily login. On the android tv app the login screen behaves like the Netflix profile selection screen, if the passwords are empty.

https://lemmy.zip/comment/25472115
Reply
$$17401
https://lemmy.grey.ooo/u/greyscale posted on Mar 25, 2026 02:23
In reply to: https://slrpnk.net/comment/21431586

I quite lldap too. I wish there was an easy way to glop oauth ontop of it.

https://lemmy.grey.ooo/comment/19345
Reply
$$17406
https://lemmy.zip/u/pinball_wizard posted on Mar 25, 2026 02:42
In reply to: https://feddit.org/post/27575572

.htaccess files are pretty simple to set up, if not hosting anything too sensitive.

https://lemmy.zip/comment/25473133
Reply
$$17413
https://lemdro.id/u/stratself posted on Mar 25, 2026 03:38
In reply to: https://feddit.org/post/27575572

Protocol-wise, OIDC is generally the most supported out there. LDAP too, to an extent.

Software wise, I find Kanidm quite simple to set up (basically just one container). It’s mostly managed via the terminal though, and lacks some eyecandy. But some of the examples in its docs should be easy to follow and get you familiar with mapping scopes/groups between Kanidm and services.

Authelia is okay too

https://lemdro.id/comment/23213970
Reply
$$17845
https://lemmy.today/u/northernlights posted on Mar 25, 2026 19:23
In reply to: https://feddit.org/post/27575572

I tried several and I found casdoor pretty painless.

https://lemmy.today/comment/23125753
Reply
$$17858
https://lemmy.zip/u/Chaser posted on Mar 25, 2026 19:53
In reply to: https://lemmy.zip/comment/25470149

@Lemmchen@feddit.org I just wanted to add a new service as I saw this page. May be helpful for you too: https://pocket-id.org/docs/client-examples

https://lemmy.zip/comment/25488323
Reply
$$17933
https://ani.social/u/suzune posted on Mar 25, 2026 21:48
In reply to: https://feddit.org/post/27575572

I already have Forgejo installed and found out it does basic Oauth2. I didn’t have to do anything. It just worked out of the box.

https://ani.social/comment/15864276
Reply
$$17938
https://lemmy.ca/u/Tinkerer posted on Mar 25, 2026 22:00
In reply to: https://feddit.org/post/27575572

I just setup authentik in podman quadlet and got a lot of my services setup with it. Their documentation is actually very good and thorough. It covers a ton of services with easy to follow instructions.

https://lemmy.ca/comment/22414242
Reply
$$17949
https://feddit.org/u/Lemmchen posted on Mar 25, 2026 22:20
In reply to: https://ani.social/comment/15864276

What do you mean? You can set up other services to use your Forgejo accounts?

https://feddit.org/comment/12213131
Reply
$$18109
https://ani.social/u/suzune posted on Mar 26, 2026 05:16
In reply to: https://feddit.org/comment/12213131

Yes.

https://forgejo.org/docs/latest/user/oauth2-provider/

https://ani.social/comment/15869330
Reply
$$18115
https://programming.dev/u/generaldenmark posted on Mar 26, 2026 05:38
In reply to: https://feddit.org/post/27575572

I’ve gone with Authentik for my homelab, and sure there is some learning to do, but it is fairly simple once it’s setup, and in the end it is not that bad.

If I were to choose over, I’d god with KeyCloak as it seems like that’s almost exclusively what’s used in the marked ~ and thus would be good to know in depth

https://programming.dev/comment/22936806
Reply
$$18160
https://feddit.org/u/Lemmchen posted on Mar 26, 2026 11:29
In reply to: https://ani.social/comment/15869330

Huh, nice.

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