Tinyauth
Lightweight authentication middleware for protecting web apps

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 Services

PocketBase
Lightweight open-source realtime backend with embedded SQLite
Open-source Go backend providing embedded SQLite, realtime (SSE) subscriptions, auth (JWT/OAuth2), file storage, admin UI and REST-style APIs for web and mobile apps.
Keycloak
Open-source identity and access management with SSO
Keycloak is an open-source IAM server providing single sign-on, user federation, and centralized authentication and authorization using OIDC, OAuth 2.0, and SAML.

Authelia
Self-hosted IAM with SSO and multi-factor authentication
Authelia is an open-source IAM and authentication server providing SSO, MFA, and access control for web apps, with OpenID Connect/OAuth 2.0 and reverse-proxy integration.
Infisical
Open-source platform for secrets, PKI certificates, and privileged access
Infisical is an open-source platform to manage and deliver app secrets, certificates (PKI), SSH credentials, and encryption keys across teams and infrastructure.

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.

Teleport
Identity-aware access proxy for infrastructure and internal apps
Secure access platform for servers, Kubernetes, databases, desktops, and web apps with SSO/MFA, short-lived certificates, and full session auditing.

Go
Docker
TypeScript