# Tinyauth

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

Source: https://talira.ai/catalog/tinyauth-ttt2wayd
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app, Infrastructure
- Categories: [security / auth / identity provider](https://talira.ai/categories/security/auth/identity-provider), [security / access proxies](https://talira.ai/categories/security/access-proxies)
- Platforms: web, linux, docker, kubernetes[^9][^13][^14]
- Licence: AGPL-3.0-only[^10][^11]
- Pricing: Free and open source[^10][^11]
- Pricing notes: Free and open source (AGPL-3.0).
- Free tier: yes[^10][^11]
- Self-hostable: yes[^9][^11]
- SSO: yes[^7][^12]
- Sponsors: selfh.st, JetBrains, CodeRabbit

Tinyauth adds a login screen in front of self-hosted apps: [Traefik](https://talira.ai/catalog/traefik-proxy-rzfqntzc.md), [Nginx Proxy Manager](https://talira.ai/catalog/nginx-proxy-manager-2a4nrjt7.md), [SWAG](https://talira.ai/catalog/swag-00z5h1q9.md) or [Caddy](https://talira.ai/catalog/caddy-vc8j4642.md) ask it on every request whether the visitor is signed in. People sign in with a username and bcrypt-hashed password with optional TOTP, through Google, [GitHub](https://talira.ai/catalog/github-ppcgj756.md) or any OpenID Connect provider such as [Pocket ID](https://talira.ai/catalog/pocket-id-k05q3abk.md), from an LDAP directory, or automatically by their [Tailscale](https://talira.ai/catalog/tailscale-n9z481td.md) identity, and [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) labels or environment variables set which users, OAuth groups, paths and IP addresses may reach each app. It is also an OpenID Certified (Basic OP) OpenID Connect provider that apps can use for single sign-on. It's a single Go binary configured only by environment variables or flags, with no admin dashboard, AGPL-3.0 licensed and aimed at homelabs rather than enterprise identity management.

## Links

- Website: https://tinyauth.app/
- GitHub: https://github.com/tinyauthapp/tinyauth
- Docs: https://tinyauth.app/docs/getting-started/

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/tinyauth-1pwdhvm0hsfv1a>[^1]
- [TrueNAS](https://talira.ai/catalog/truenas-pt2m6pd4.md): <https://apps.truenas.com/catalog/tinyauth_community/>[^2][^3]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/tinyauth>[^4]

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/tinyauth>[^5]

## Problems it solves

- add a login page to self-hosted apps that have no authentication of their own
- Authelia and Authentik feel like too much to set up for my homelab
- lightweight forward auth for Traefik that I configure with environment variables
- protect my Docker containers with a login screen using labels on each container
- let family and friends sign in with their Google or GitHub account to reach my home server apps
- put two-factor authentication with TOTP codes in front of apps that only have a password or nothing
- sign in to my homelab apps through Pocket ID or another OpenID Connect provider
- use my existing LDAP directory to log in to apps behind Nginx Proxy Manager
- only allow certain users or OAuth groups into specific self-hosted apps
- skip the login for devices on my home network IP range but require it from outside
- log me in automatically when I'm connected over Tailscale
- a tiny OpenID Connect provider so my self-hosted apps can share one login
- protect an app behind Caddy or SWAG with a simple shared login
- require login for an app's admin path but leave its public pages open
- a forward auth server that runs as one small binary in an LXC container without Docker
- pass the signed-in user's name, email and groups to the app in headers
- add authentication to services exposed through ingress on my k3s cluster
- self-hosted single sign-on for Immich and Beszel without running Keycloak

## Features

- forward authentication for Traefik, Nginx and Nginx Proxy Manager, SWAG and Caddy
- username and password users (bcrypt hashes) with optional TOTP
- HTTP Basic authentication for clients that can't show a login page
- sign-in through Google, GitHub or any OpenID Connect provider, with presets and attribute mapping
- LDAP authentication and access controls by LDAP groups
- automatic sign-in from a Tailscale connection
- access controls per app by user, OAuth whitelist, OIDC or LDAP group, path and IP address, from Docker labels or environment variables
- bypass authentication for listed IP addresses
- OpenID Connect provider with discovery, OpenID Certified for the Basic OP profile (from v5.1.0)
- remote user, email, name, groups and custom headers passed to apps
- Kubernetes support that discovers access controls from ingresses
- configured with environment variables, CLI flags or YAML; no dashboard
- CLI commands to create and verify users and generate TOTP secrets
- Docker image and Linux binaries for amd64 and arm64
- optional anonymous heartbeat telemetry, off by default

## Limitations

- Not designed for production setups that need RBAC and granular permissions: the maker recommends Authentik for advanced user management[^6]
- Doesn't support Microsoft OAuth sign-in: Microsoft's OAuth doesn't meet the OpenID Connect requirements Tinyauth needs[^7]
- No admin dashboard: users and settings are configured with environment variables, CLI flags or labels[^6][^8]
- Doesn't work directly on a dynamic DNS hostname such as duckdns.org: Tinyauth and the apps need subdomains of a domain they share[^9]

## Capabilities

- Has a command line tool: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.26 out of 1.
Signals: backing 0.15, extensibility 0.20.

- sponsored by selfh.st, JetBrains, CodeRabbit

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [authentik](https://talira.ai/catalog/authentik-n6xa119j.md): The authentication glue you need
- [Authelia](https://talira.ai/catalog/authelia-rzsda9ak.md): The Single Sign-On Multi-Factor portal for web apps
- [Pocket ID](https://talira.ai/catalog/pocket-id-k05q3abk.md): Easy self-hosted OIDC provider with passkeys
- [OAuth2 Proxy](https://talira.ai/catalog/oauth2-proxy-6rgarp7c.md): A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers
- [Keycloak](https://talira.ai/catalog/keycloak-jw9hhr96.md): Open source identity and access management for modern applications and services
- [Ory](https://talira.ai/catalog/ory-9g8j29sf.md): Headless, cloud-native identity: authentication, OAuth2/OIDC and permissions

## Sources

[^1]: https://ca.unraid.net/api/apps/tinyauth-1pwdhvm0hsfv1a (checked 20 Nov 2026)
[^2]: https://apps.truenas.com/catalog/tinyauth_community/ (checked 20 Nov 2026)
[^3]: https://github.com/truenas/apps/blob/master/ix-dev/community/tinyauth/app.yaml (checked 20 Nov 2026)
[^4]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/tinyauth.sh (checked 21 Nov 2026)
[^5]: https://railway.com/deploy/tinyauth (checked 20 Nov 2026)
[^6]: https://tinyauth.app/docs/about/ (checked 20 Nov 2026)
[^7]: https://tinyauth.app/docs/reference/authentication/ (checked 20 Nov 2026)
[^8]: https://tinyauth.app/ (checked 20 Nov 2026)
[^9]: https://tinyauth.app/docs/getting-started/ (checked 20 Nov 2026)
[^10]: https://github.com/tinyauthapp/tinyauth/blob/main/LICENSE (checked 20 Nov 2026)
[^11]: https://github.com/tinyauthapp/tinyauth/blob/main/README.md (checked 20 Nov 2026)
[^12]: https://tinyauth.app/docs/guides/oidc/ (checked 20 Nov 2026)
[^13]: https://tinyauth.app/docs/guides/using-the-binary/ (checked 20 Nov 2026)
[^14]: https://tinyauth.app/docs/guides/kubernetes/ (checked 20 Nov 2026)
