What problem does it solve?
This Skill provides a robust, framework-agnostic authentication library for TypeScript applications, simplifying secure user login, session management, and authorization.
Core Features & Use Cases
- Framework-agnostic Authentication: A single, reusable library to handle login, signup, and access control across Next.js, Express, and other TS web apps.
- Comprehensive flows: Email/password, OAuth, JWT, sessions, two-factor authentication, and magic links.
- Easy framework integrations: Seamless integration with Next.js 16 proxy.ts patterns and server/client templates for rapid wiring.
- ORM adapters support: Works with Drizzle, Prisma, Kysely, and MongoDB adapters to persist users and sessions.
- Use Case: Add enterprise-grade auth to a Next.js app with social login, 2FA, and session management in a few configuration files.
Quick Start
Install the library and one of the supported adapters, then wire up a server and client using the provided templates. Create the auth server and client, generate the auth schema with the CLI, and run migrations or migrations-gen as appropriate for your ORM.