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

One identity store→MFA at the door→Proxy checks the gate→Apps trust the login→Sessions everywhere

The decision, in one table of truths

Rollout order (whichever you choose)

  1. Stand the IdP up on its own subdomain (auth.yourdomain.com) with HTTPS — via Nginx Proxy Manager or your tunnel of choice.
  2. Create users and turn on MFA (TOTP at minimum) before gating anything. The gate is only as strong as its own door.
  3. 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.
  4. 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.
  5. 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

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.

Related guides