Tinyauth
Lightweight authentication middleware for protecting web apps
8k stars 258 forks last commit first released AGPL-3.0
Actively maintained
Last commit 20 Jul 2026.

Tinyauth is a simple authentication middleware that sits in front of your web applications and provides a login screen or single sign-on via external identity providers. It is designed to be lightweight and easy to configure, making it well-suited for homelabs and small-to-medium self-hosted setups.
Key Features
- Adds an authentication layer in front of existing apps without modifying them
- Supports a built-in login screen with username/password
- OAuth / OIDC authentication with providers such as Google and GitHub (and others)
- LDAP authentication against a centralized directory
- Two-factor authentication support via TOTP
- Designed to integrate with popular reverse proxies such as Traefik, Nginx, and Caddy
- Ships as a single statically linked binary and is typically configured via environment variables
Use Cases
- Protect internal dashboards and admin tools behind a single login page
- Add SSO to self-hosted services that lack native authentication
- Gate access to homelab services exposed through a reverse proxy
Limitations and Considerations
- In active development; configuration and behavior may change between releases
Tinyauth provides a pragmatic way to add authentication in front of multiple services with minimal overhead. It is especially useful when you want a small, dependency-light component that works with common proxy-based deployments.
Categories:
Tags:
Tech Stack:
Similar to Tinyauth
OAuth2 Proxy
Reverse proxy and middleware for OAuth2/OIDC authentication
OAuth2 Proxy is a reverse proxy and middleware that protects web apps with OAuth2/OIDC login and forwards authenticated user identity to upstream services.

Casdoor
UI-first IAM and SSO platform for modern authentication
Casdoor is an open-source, UI-first IAM/SSO platform supporting OAuth 2.0, OIDC, SAML, LDAP, SCIM, WebAuthn and MFA, with an admin web UI and SDKs.
Cosmos Cloud
Security-first self-hosting platform with reverse proxy, SSO, and apps
Cosmos Cloud is a security-focused self-hosting platform that provides an app store, reverse proxy with automatic HTTPS, SSO/MFA, container management, backups, and monitoring.


authentik
Open-source Identity Provider (IdP) for SSO, OIDC, and SAML
Open-source IdP delivering SSO, OAuth2/OIDC, SAML2, LDAP, RADIUS, MFA, WebAuthn, conditional access and application-proxy capabilities for self-hosted deployments.
Pomerium
Identity- and context-aware access proxy for zero trust access
Pomerium is an identity-aware access proxy that provides zero trust, per-request authorization to internal web apps and services without a traditional VPN.
ZITADEL
API-first identity and access management platform for applications
ZITADEL is an open source IAM/CIAM platform providing SSO, MFA, OIDC/OAuth2, SAML, user management, and multi-tenant organizations with audit logging.


