Tinyauth

Open source

A small, OpenID-certified authentication and authorization server that works as middleware for reverse proxies such as Traefik, Nginx and Caddy or as a standalone server.

tinyauth.app
Tinyauth homepage screenshot
GitHub stars
8.5k
Last 30 days
+128(+2%)
Last commit
today
Repository age
22 months
Version
v5.2.0
Licence
AGPL-3.0
Self-hosted
Yes

About Tinyauth

Tinyauth is a minimal authentication and authorization server aimed at self-hosters and homelabs. It can sit in front of your apps as authentication middleware, with support for OAuth, LDAP and access controls, or run on its own as a standalone server, and it works with common proxies including Traefik, Nginx and Caddy.

The project reports that version 5.1.0 achieved OpenID Certification for the Basic OP profile, and its topics mention OIDC, SSO and two-factor authentication with TOTP. A docker-compose file demonstrates it alongside Traefik and a whoami test service, and a public demo and documentation site explain the configuration options.

Tinyauth is written in Go and licensed under AGPL-3.0. The README warns that it is in active development and that configuration may change often, so release notes should be read before updating. It suits people who want single sign-on for self-hosted services without running a heavier identity platform.

Key features

  • Authentication middleware for reverse proxies
  • OIDC provider with OpenID Certification
  • OAuth and LDAP support
  • Access controls per application
  • TOTP two-factor authentication
  • Traefik, Nginx and Caddy integration
  • Docker Compose example

Good fit for

  • Protecting self-hosted apps behind Traefik
  • Single sign-on for a homelab
  • Lightweight alternative to larger identity servers
Built with
Go tools
Tags
authentication
sso
oidc
oauth
self-hosted
traefik
reverse-proxy
homelab
golang

Tinyauth: questions and answers

What is Tinyauth used for?
Tinyauth is a small, OpenID-certified authentication and authorization server that works as middleware for reverse proxies such as Traefik, Nginx and Caddy or as a standalone server. It is a good fit for protecting self-hosted apps behind Traefik and single sign-on for a homelab.
Is Tinyauth open source?
Yes. Tinyauth is open source under the AGPL-3.0 licence. Its source code is on GitHub at tinyauthapp/tinyauth and is written mainly in Go.
Is Tinyauth free?
Yes. Tinyauth is open source, so the software itself is free to use.
Can I self-host Tinyauth?
Yes. Tinyauth can be self-hosted on your own server or infrastructure.
What are some alternatives to Tinyauth?
Similar open-source tools in the Auth & Identity category include Pocket ID, Casdoor and Logto. SaaS products in the same category include FusionAuth, Scalekit and Auth0.
Is Tinyauth actively maintained?
Yes. The most recent commit to Tinyauth was on 12 November 2026, and the latest release is v5.2.0, published on 7 September 2026. The project has 8.5k stars on GitHub, with 128 added in the last 30 days.

Open-source alternatives to Tinyauth

See all

SaaS alternatives to Tinyauth

See all