No description
  • TypeScript 67%
  • JavaScript 29%
  • MDX 3.7%
  • Astro 0.2%
Find a file
winetree94 bc004b152c
chore: bump all catalog dependencies to latest versions
Update pinned packages (@biomejs/biome 2.4.8, @react-email/preview-server
5.2.10, next 16.2.1) and bump ^-ranged floor versions across the catalog.
Upgrade kysely-d1 from ^0.3.0 to ^0.4.0 (ESM/CJS dual distribution).
Remove now-unnecessary @ts-expect-error directives in frontend vite/vitest
configs, fixed upstream in @rolldown/plugin-babel 0.2.2.
2026-03-22 22:26:05 +09:00
.agents/skills/korean-docs chore: add Korean docs writing skill 2026-03-22 02:14:14 +09:00
.github/workflows refactor: reorganize examples into clients and servers subdirectories 2026-03-16 16:04:56 +09:00
examples docs(example): update Cloudflare Hono D1 example for D1 and assets handler\n\nDocument D1 usage, frontend build step, and worker configuration. Update example scripts and readme to use the new server-examples filter and clarify development steps. 2026-03-21 01:54:21 +09:00
packages chore: bump all catalog dependencies to latest versions 2026-03-22 22:26:05 +09:00
.dockerignore feat: add Dockerfile and .dockerignore for container builds 2026-02-28 01:26:14 +09:00
.gitignore chore: add CI test workflow and coverage configuration 2026-03-12 19:37:41 +09:00
AGENTS.md refactor: reorganize examples into clients and servers subdirectories 2026-03-16 16:04:56 +09:00
biome.json chore: update all dependencies to latest versions 2026-03-16 02:44:48 +09:00
CLAUDE.md chore: convert CLAUDE.md to symlink pointing to AGENTS.md 2026-02-23 00:05:58 +09:00
compose.yaml chore: rename container image from tinyrack to tinyrack-net 2026-03-12 23:15:55 +09:00
Dockerfile refactor: extract @tinyauth/standalone from @tinyauth/backend 2026-03-03 00:47:31 +09:00
LICENSE chore: change license from MIT to AGPL-3.0 2026-02-08 06:29:11 +09:00
package.json chore: remove vite-tsconfig-paths and migrate to native resolve options 2026-03-16 22:43:56 +09:00
pnpm-lock.yaml chore: bump all catalog dependencies to latest versions 2026-03-22 22:26:05 +09:00
pnpm-workspace.yaml chore: bump all catalog dependencies to latest versions 2026-03-22 22:26:05 +09:00
readme.md docs: update license references to GNU AGPL v3 2026-03-20 00:28:23 +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 ghcr.io/tinyrack-net/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

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: true

See documentation for full configuration options.

Development

pnpm install
pnpm dev

Examples

  • examples/clients/nextjs-ssr - Next.js OIDC client
  • examples/clients/react-spa - React SPA PKCE client
  • examples/servers/cloudflare-hono-d1 - Cloudflare Worker deployment of @tinyauth/backend with the bundled TinyAuth frontend
  • examples/servers/node-hono-sqlite - Node.js library-mode deployment of @tinyauth/backend with Hono, SQLite, and the bundled TinyAuth frontend

License

GNU AGPL v3