VoidAuth

VoidAuth

One container for OIDC logins and ForwardAuth

VoidAuth is a single sign-on server written in TypeScript that sits in front of self-hosted apps. Apps that speak OpenID Connect hand their login over to it. For everything else, the reverse proxy checks with VoidAuth on each request (ForwardAuth) and only lets signed-in, authorized users through. Both modes run in the same container, along with a web UI for accounts, groups and invitations.

Authelia plugs into the same spot but reads its users from a YAML file or an LDAP directory. VoidAuth keeps them in its own database and manages them from its UI. Pocket ID does the same, but serves OpenID Connect only, with no ForwardAuth, and accepts nothing but passkeys.

The comparison of self-hosted SSO tools weighs VoidAuth's maturity against the other tools.

  • ForwardAuth for Caddy, Traefik and NGINX: /api/authz/forward-auth for the first two, /api/authz/auth-request for NGINX and NGINX Proxy Manager. Access to each protected domain is granted per group, and the proxy forwards Remote-User, Remote-Groups, Remote-Name and Remote-Email headers that some apps accept as a login.
  • OIDC clients declared as Docker labels: a voidauth.oidc.<client-id>.client_secret label on a container creates the client, and VoidAuth follows containers as they start and stop. That needs /var/run/docker.sock mounted read-only; OIDC_<client-id>_* environment variables do the same job without the socket.
  • Invite-only accounts: admins don't create users, they send a link, and each user picks their own password. Self-registration is off by default and, once enabled, waits for admin approval.
  • MFA at four levels: TOTP codes, passkeys and passkey-only accounts. MFA can be required for everyone (MFA_REQUIRED), per group, per OIDC app or per protected domain.
  • Setup guides for about thirty apps: Immich, Jellyfin, Seafile, Vaultwarden and Proxmox VE among them, largely written by the community.
  • SQLite or Postgres: with SQLite, VoidAuth is a single container, and voidauth migrate copies data from one database to the other without touching the source.
  • Branding: logo, title, color, font and email templates can all be swapped out.

Unaudited code from a single maintainer

Docker and an HTTPS reverse proxy are required. VoidAuth installs only through Docker (amd64 and arm64 images) and does not terminate HTTPS, so it needs a reverse proxy with a certificate, and APP_URL must hold its full public URL. Next to the container you need Postgres or a SQLite file on a volume. The docs give no memory or CPU figures. The first admin account is unlocked through a password reset link printed in the logs on first start.

Covering several domains is experimental. Protecting a second domain with the same accounts takes a second instance on the same database, a configuration the docs describe as "not well supported or tested".

No SAML, no SCIM, no sign-in with Google. SAML appears nowhere in the repository, and SCIM has been an open request since August 2026 (issue #542). Signing in through an external provider such as Google is not supported, the maintainer wrote in January 2026 (#248), and no release has added it since. Zitadel covers all three.

The LDAP directory is experimental and read-only. Users who need MFA cannot bind, because a simple LDAP bind has no way to ask for a second factor. Without LDAPS, passwords travel in clear text.

The code has not been audited. The README says so, and adds that much of the functionality comes from third-party packages; the OIDC side runs on the Node oidc-provider package. The encryption at rest it mentions covers stored secrets (keys, OIDC client secrets), encrypted with a STORAGE_KEY of at least 32 characters. Under the AGPL-3.0, anyone running a modified version as a network service must publish its source.

One maintainer, frequent releases. The repository dates from April 2025. From v1.0.0 (July 11, 2025) to v1.16.0 (September 26, 2026), the project published 57 releases, eight of them minor versions in 2026. A single developer authored 1,132 of the 1,236 commits on the main branch. Behavior changes have landed in minor versions: v1.15.0 added TRUSTED_PROXIES, flagged "potentially breaking" in its notes, and v1.16.0 changed how MFA works. Yet the Compose examples in the docs pull the latest image.