Authentik vs Keycloak vs Authelia: SSO for Homelabs
Published 2026-07-03 · Updated 2026-08-21 · 15 min read · By Ben Liu
Pick an IdP by scope: forward-auth only, UI-driven OIDC, or full IAM — with MFA/recovery and a freeze rule.
Define SSO scope first
Homelabs usually need "one login for a handful of web apps + MFA," not enterprise federation. List apps (proxy, Nextcloud, forge, dashboards) before picking a platform.
Authelia — forward auth specialist
Login portal + 2FA + per-domain/path rules beside Traefik/Caddy/Nginx. Modest resources. Check OIDC coverage against your list — heavy SAML/brokering is outside the sweet spot.
Authentik — UI-forward homelab IdP
Flows, MFA, growing OIDC/proxy support. Spreadsheet auth method per hostname. Use outposts where supported.
Keycloak — full identity platform
Realms, roles, brokering, SAML. Needs SSD + monitored RAM and clone-tested upgrades. Choose when you need IAM practice or SAML, not because the feature list is long.
Decision table
| Situation | Prefer |
|---|---|
| Few apps, proxy forward-auth enough | Authelia |
| Multiple OIDC apps + UI flows | Authentik |
| SAML / brokering / IAM practice | Keycloak |
| Running two IdPs "temporarily" | Stop — freeze one |
MFA and recovery
TOTP/WebAuthn for admins. Offline backup codes. Document spouse recovery — shared break-glass accounts beat nothing, documented codes beat shared accounts.
Lab notes pending — replace with measured values before publishing claims.
[Add real environment data here]
IdP + version:
Protected apps:
Idle RAM (measured):
Break-glass procedure location:Related reading
See Traefik + Authelia SSO tutorial, Automatic SSL certificates, and Secure remote access.
Explore more
Related guides
- Plausible-style vs Umami vs Matomo: Analytics Trade-offs
Compare privacy posture, feature depth, and ops weight for self-hosted web analytics on a content site.
- Vaultwarden vs Password SaaS: When Self-Hosting a Vault Makes Sense
Decide when a self-hosted Bitwarden-compatible vault is rational versus password SaaS — threat model, availability, family sharing, sync, recovery, and deploy minimums.