No description
  • TypeScript 97%
  • MDX 1.8%
  • JavaScript 0.4%
  • CSS 0.3%
  • Astro 0.3%
  • Other 0.2%
Find a file
2026-02-05 01:23:13 +09:00
.vscode chore: remove YAML schema configuration from VSCode settings 2026-02-04 21:01:31 +09:00
examples chore: clean up example application dependencies 2026-01-31 11:34:19 +09:00
packages docs: add behavior description for mid-option activation in TOTP 2FA setup 2026-02-05 01:23:13 +09:00
.dockerignore chore: add Docker containerization support 2026-01-25 13:03:14 +09:00
.gitignore chore: add Astro cache directory to gitignore 2026-02-04 13:59:19 +09:00
AGENTS.md docs: add E2E testing conventions with data-testid naming guide 2026-01-31 01:05:27 +09:00
biome.json chore: disable noTemplateCurlyInString rule for config loader 2026-02-04 15:24:06 +09:00
CLAUDE.md chore: add Claude agent configuration reference 2026-01-31 11:59:05 +09:00
docker-compose.yml chore: update Docker and license references to tinyauth 2026-01-30 00:26:21 +09:00
Dockerfile chore: update Docker and license references to tinyauth 2026-01-30 00:26:21 +09:00
LICENSE chore: update Docker and license references to tinyauth 2026-01-30 00:26:21 +09:00
package.json style: reorganize imports in server.ts for consistency 2026-01-31 13:09:12 +09:00
pnpm-lock.yaml refactor: replace consola with standard console logging 2026-02-04 21:19:52 +09:00
pnpm-workspace.yaml chore: update pnpm workspace configuration 2026-01-31 11:34:25 +09:00
readme.md docs: update README with project information and quick start guide 2026-01-29 23:13:36 +09:00

tinyauth

A lightweight, self-hosted OpenID Connect (OIDC) Provider.

Features

  • 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

Quick Start

docker run -p 8080:8080 -v ./config.yaml:/opt/config.yaml tinyrack/tinyauth

Visit http://localhost:8080/.well-known/openid-configuration to verify the server is running.

Configuration

All configuration is done via config.yaml:

app:
  host: https://auth.example.com
  port: 8080
  cookie_secret: <your-secret>

database:
  type: sqlite
  path: data.db

basic_authentication_methods:
  password:
    enabled: true
  passkey:
    enabled: true

See documentation for full configuration options.

Development

pnpm install
pnpm dev

License

MIT