Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A lightweight, open-source authentication and authorization server providing 2FA and SSO via a forward-auth portal in front of your reverse proxy — a self-hosted gatekeeper for existing apps, not a full identity provider.
Runs on a VPS from $4/mo (Kamatera 1GB, 1 GB RAM) · prices checked Nov 2026
Fits home hardware (92 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 install tested), Raspberry Pi 5 (8 GB) (arm64 install tested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Pick Authelia when you want to put SSO and two-factor in front of apps you already run — it's a lightweight forward-auth portal and 2FA gateway that pairs with your reverse proxy. It's tiny and focused; if you need to be a full OIDC provider for other software, reach for authentik, Keycloak, or Zitadel instead.
Follow the Authelia deploy guide →Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# Authelia — official Lite compose bundle (test/eval config)
git clone --depth 1 --branch v4.39.28 https://github.com/authelia/authelia.git && cd authelia/examples/compose/lite
# the bundled SMTP notifier points at mail.example.com and Authelia exits at startup until it is reachable; for a first run swap it for the file notifier (one-time codes land in authelia/notification.txt). Then edit users_database.yml + configuration.yml for your domain:
sed -i '/^notifier:/,$d' authelia/configuration.yml && printf "notifier:\n filesystem:\n filename: '/config/notification.txt'\n...\n" >> authelia/configuration.yml
# pin the image to the same release as the example config
sed -i "s|'authelia/authelia'|'authelia/authelia:4.39.28'|" compose.yml
docker compose up -dAuthelia does one job well, so the caveats are mostly about what it deliberately is not:
A tiny forward-auth gate vs. a full identity provider.
A login portal in front of your reverse proxy, or a full identity and access management server.
A forward-auth rules engine with several second factors, or a minimal login screen for your proxy.
A passkey-only OIDC provider vs. a forward-auth gate with 2FA.
Authelia used 92 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.2 (first boot, measured Oct 2026). We list a minimum of 256 MB.
The Authelia install snippet is marked verified on Ubuntu 26.04 (Nov 2026).