Authentik vs Authelia: one login to rule the stack
Fifteen services, fifteen logins, fifteen password-reset emails to yourself. Single sign-on fixes the sprawl — one identity, one login (with MFA), every service behind it. The homelab has two champions: Authelia, the lightweight gatekeeper that sits in front of apps via your reverse proxy, and Authentik, the full identity platform that can be the login for apps that speak OIDC. They solve the same problem at different weight classes, and choosing wrong means either over-engineering or hitting a ceiling.
Published Nov 18, 2026
Two architectures, one goal
- Authelia works in front of apps: your reverse proxy asks Authelia 'is this person logged in and allowed?' before passing traffic. The app itself may have no login at all — Authelia is the login. Light, fast, file-configured, tiny footprint. Perfect for the long tail of services that were never designed for SSO.
- Authentik works as the identity provider: apps that support OIDC/OAuth/SAML redirect to Authentik to authenticate, then trust its token. It also does forward-auth like Authelia, plus user self-service, enrollment flows, LDAP out, and an admin UI for everything. Heavier — it brings its own database and Redis — and correspondingly more capable.
The decision, in one table of truths
- Your apps mostly lack OIDC (the classic NAS stack) → Authelia covers them all via the proxy. Authentik's forward-auth does too, but you are paying platform weight for gate duty.
- Your apps speak OIDC natively (Immich, Paperless, Seerr and friends increasingly do) → Authentik gives the cleaner experience: real per-app sessions, groups mapped to app roles.
- Family users who forget passwords → Authentik's self-service recovery flows end your helpdesk era. Authelia leans on you, the admin.
- Resources tight / philosophy minimal → Authelia, and it is not close: a fraction of the RAM, config you can read in one sitting.
- You enjoy identity as a project → Authentik is a platform you can grow into for years.
Rollout order (whichever you choose)
- Stand the IdP up on its own subdomain (auth.yourdomain.com) with HTTPS — via Nginx Proxy Manager or your tunnel of choice.
- Create users and turn on MFA (TOTP at minimum) before gating anything. The gate is only as strong as its own door.
- Gate one low-stakes service first (a dashboard), live with it a week, fix the friction (session lengths, remember-me) while the blast radius is small.
- Roll service by service. Keep a break-glass local admin account on critical apps (NAS, Home Assistant) that bypasses SSO — the day the IdP is down must not be the day you are locked out of the house's brain.
- Where an app supports OIDC, prefer it over header-trust; where it does not, forward-auth with headers is the pattern. Never expose an app's own login page publicly once it trusts headers — that is the classic self-own.
SSO pairs with the tunnel story: Pangolin has its own gate (previous guide); Authentik/Authelia is the gate when you publish through a plain reverse proxy. Choose one gate per path — stacking two logins in front of family photos is how features die unused.
The honest summary
Start with Authelia if your stack is the standard NAS fleet and you want the win this weekend. Graduate to Authentik when OIDC-native apps dominate your list or family self-service becomes the pain. Either way, the destination is the same and it is glorious: one login, MFA once, and a stack that finally feels like one system instead of fifteen roommates.
Official documentation and references
- authentik documentation — installation and provider configuration
- authentik documentation — proxy provider and outpost setup
- Authelia documentation — configuration and deployment guides
- Authelia documentation — configuration reference
Frequently asked questions
Can SSO protect apps that have no login of their own?
Yes — that is forward-auth: the reverse proxy checks with Authelia (or Authentik) before passing any traffic, so the app's missing login stops mattering. This is the pattern that makes SSO valuable for the classic container stack.
What happens when the SSO service itself is down?
Gated apps become unreachable — which is why break-glass local accounts on critical systems (NAS admin, Home Assistant) are part of the rollout, and why the IdP deserves the same backup care as your other core containers.
Authentik or Authelia for a beginner?
Authelia, for most: smaller, file-configured, and sufficient for proxy-gating a NAS stack. Authentik earns its weight when you want OIDC app integration, user self-service and a full admin UI.

