
Tinyauth
The tiniest OpenID Certified self-hosted authentication and authorization server, with OAuth, OIDC, LDAP, 2FA, and Traefik/Nginx/Caddy middleware support.
Tinyauth is a self-hosted authentication and authorization server written in Go with a small TypeScript frontend. It is OpenID Certified for Basic OP (since v5.1.0) and ships as a single small Go binary plus a minimal web UI, designed to be dropped in front of any self-hosted app that needs SSO.
It works in two modes: as a reverse-proxy middleware in front of Traefik, Nginx or Caddy (the most common deployment), or as a standalone OIDC/OAuth provider that other apps can federate to. Out of the box it supports username/password logins, OAuth providers, LDAP, and TOTP-based two-factor authentication, with per-app access controls, user allow-lists and per-domain rules. Tinyauth v5 is the first version to pass the OpenID Foundation conformance test suite, so it can act as a real OIDC identity provider for any OIDC-compliant client.
It's built for homelabs and self-hosters: the Go binary is small, the distroless Docker image is tiny, configuration is one .env file, and the project ships a working docker-compose example with Traefik. The web UI offers user management, app configuration, and OAuth setup. Tinyauth is licensed under AGPL-3.0 and is currently one of the most-starred self-hosted auth projects on GitHub.
Categories:
Build with:
OpenAltFinder Score
Project Details
Repository details
Updated 11/26/2026, 1:00:57 PM
View RepositoryRepository activity
Sponsor Tinyauth
Get the latest open source alternatives delivered weekly.
Discover tools that give you freedom from proprietary software.
Compare Tinyauth with
Similar open source alternatives

Authentik
Open source identity provider and SSO solution that replaces Auth0 and Okta with a self-hostable, flexible authentication platform.
Auth0
Stack Auth
Open-source authentication platform for Next.js and React, built as an alternative to Auth0 and Clerk.
Auth0
SuperTokens
Open-source authentication solution, an alternative to Auth0 and Firebase Auth that you can self-host.
Auth0
Keycloak
Open-source identity and access management with SSO, OAuth2, OIDC, and SAML support for modern applications.
Auth0


