Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
The tiniest self-hosted login screen for your apps — a single small Go container that adds authentication, OAuth login, and access controls in front of Traefik, Nginx, or Caddy, and since v5 doubles as an OpenID Certified OIDC provider.
Runs on a VPS from $4/mo (Kamatera 1GB, 1 GB RAM) · prices checked Nov 2026
Fits home hardware (8 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 Tinyauth when you want the smallest possible login screen in front of apps that have none — one Go container that plugs into Traefik, Nginx, or Caddy as forward auth, with local users, OAuth login, and access controls. Since v5 it's also an OpenID Certified OIDC provider, but if you need a real user directory, SAML, or LDAP, step up to Authelia or authentik.
Follow the Tinyauth deploy guide →Paid link — we earn a commission if you shop through it.
Save this as compose.yml and run docker compose up -d:
# Tinyauth — single container; wire it to your proxy via forward auth
services:
tinyauth:
image: ghcr.io/tinyauthapp/tinyauth:v5
ports: ["3000:3000"]
environment:
# a real domain — Tinyauth rejects bare IPs (and underscores) in APPURL
- TINYAUTH_APPURL=http://tinyauth.example.com:3000
- TINYAUTH_AUTH_USERS=user:$$2a$$10$$UdLYoJ5lgPsC0RKqYH/jMua7zIn0g9kPqWmhYayJYLaZQ/FTmH2/u
volumes: ["./data:/data"]
# docker compose up -d → http://tinyauth.example.com:3000 (user / password — change both)
# then point your proxy's forward-auth at http://tinyauth:3000/api/auth/<proxy>Tinyauth trades features for size on purpose — know what you're not getting:
A forward-auth rules engine with several second factors, or a minimal login screen for your proxy.
A full identity platform vs. the tiniest possible login gate.
A passkey-only OIDC provider, or a forward-auth login gate. Often both.
Tinyauth used 8 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.8.0 (first boot, measured Sep 2026). We list a minimum of 256 MB.
The Tinyauth install snippet is marked verified on Ubuntu 26.04 (Nov 2026).