# tinyauthapp/tinyauth

The tiniest OpenID Certified™ authorization and authentication server you have ever seen.

Repository: https://github.com/tinyauthapp/tinyauth
Canonical: https://ross.abutalabs.com/products/tinyauth
Homepage: https://tinyauth.app
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: 2fa, authentication, caddy, golang, middleware, nginx, selfhosted, sso, totp, typescipt, tinyauth, oidc
Last push: 2026-08-26T08:15:04+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 42
- inputs: {"age_days": 591, "days_push": 7, "days_rel": 34, "gap_med": 3.0, "n_releases_24m": 37}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8174, forks 264 (observed 2026-08-28T04:10:14.052856+00:00)

## What it is
Tinyauth is a lightweight, OpenID Certified™ authentication and authorization server written in Go, shipped as a single static binary. It works as an auth middleware for apps behind reverse proxies (Traefik, Nginx, Caddy) or as a standalone OIDC provider, with OAuth, LDAP, and TOTP 2FA support configured via environment variables.

## Use cases
- add login to self-hosted apps behind traefik
- self-hosted single sign-on for homelab
- lightweight openid connect provider
- protect apps with 2fa totp
- authenticate apps with ldap
- forward auth middleware for nginx and caddy

## When to choose
- you want dead-simple SSO for self-hosted services with minimal configuration
- you need a tiny, resource-light OIDC provider instead of Keycloak
- you use Traefik, Nginx, or Caddy and want forward-auth protection

## When to avoid
- you need extensive enterprise identity features, user management dashboards, or fine-grained RBAC
- you require long-term config stability, as configuration changes frequently between releases
- you need a full-featured identity platform with social login federation beyond basic OAuth/LDAP

## Facets
- artifact type: service
- maturity: active
- function: auth, authorization, middleware, http-server, security
- domain: security, self-hosted, web-development, backend
- platform: self-hosted, go, cross-platform
- tags: oidc, sso, totp, 2fa, ldap, oauth, reverse-proxy, traefik, nginx, caddy, openid-certified, single-binary, docker, linux

## Member repositories
- tinyauthapp/tinyauth (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:14.052856+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:29:35.028785+00:00, confidence not recorded.
  - readme: https://github.com/tinyauthapp/tinyauth (fetched 2026-08-28T04:10:14.052856+00:00, sha 63d1d048e5ea)
  - homepage: https://tinyauth.app (fetched 2026-08-29T08:28:24.787270+00:00, sha 559b94fb8a24)
  - site_page: https://tinyauth.app/docs/getting-started (fetched 2026-08-29T08:28:24.789847+00:00, sha c77df771b963)
- Data as of 2026-08-30T08:39:29.467469+00:00.
