What problem does it solve?
This skill provides a complete, self-hosted authentication and authorization solution for TypeScript projects, focusing on Cloudflare Workers with D1 support, and offering a vendor-independent alternative to Clerk or Auth.js.
Core Features & Use Cases
- Production-ready authentication: Includes email/password, magic links, 2FA, passkeys, and social providers (Google, GitHub, Microsoft, Apple).
- Cloudflare D1 integration: First-class adapter support for serverless environments and multi-tenant RBAC features.
- Use Case: Build a secure SaaS app with orgs, teams, and granular access control while keeping data self-hosted.
Quick Start
Use the skill to scaffold a Cloudflare Worker with D1-backed auth, configure OAuth providers, and integrate with a frontend via client hooks. This will guide you through setting up the database, secret management, and sample routes.