A lightweight, self-hosted OpenID Connect (OIDC) Provider.
- OIDC/OAuth2 Compliant - Authorization Code Flow with PKCE support
- Multiple Auth Methods - Password, Passkey/WebAuthn, Social Login (GitHub, Google, Apple, Generic OAuth)
- Two-Factor Authentication - TOTP and Passkey as 2FA
- Multi-language - English, Korean, Japanese
- Customizable UI - Themes, branding, background images, terms of service
- Database Support - PostgreSQL, SQLite
- Docker Ready - Production-ready container with health checks
docker run -p 8080:8080 -v ./config.yaml:/opt/config.yaml ghcr.io/tinyrack-net/tinyauthVisit http://localhost:8080/.well-known/openid-configuration to verify the server is running.
All configuration is done via config.yaml:
app:
host: https://auth.example.com
port: 8080
security:
session_secret: <your-session-secret>
hash_secret: <your-hash-secret>
database:
type: sqlite
path: data.db
basic_authentication_methods:
password:
enabled: true
passkey:
enabled: trueSee documentation for full configuration options.
pnpm install
pnpm devexamples/clients/nextjs-ssr- Next.js OIDC clientexamples/clients/react-spa- React SPA PKCE clientexamples/servers/cloudflare-hono-d1- Cloudflare Worker deployment of@tinyauth/backendwith the bundled TinyAuth frontendexamples/servers/node-hono-sqlite- Node.js library-mode deployment of@tinyauth/backendwith Hono, SQLite, and the bundled TinyAuth frontend