
better-auth
Provides Better Auth integration patterns for NestJS backend
by giuseppe-trisciuoglioFree
Description
Better Auth is an AI skill with integration patterns for Better Auth, a type-safe authentication framework for TypeScript. It covers setting it up in a NestJS backend and a Next.js App Router frontend, with Drizzle ORM and PostgreSQL for the schema. The skill lists the features it helps with: social login with GitHub, Google, Facebook and Microsoft; two-factor authentication with TOTP; passwordless sign-in with passkeys and magic links; trusted devices and backup codes for account recovery; multi-tenant apps built on organizations and SSO; and protected routes with session management. It gives a quick start for the setup. The skill is for developers adding sign-in to a TypeScript app who want a tested pattern for the backend and the frontend together. It is part of the developer-kit marketplace on GitHub.…
Highlights
- Better Auth setup for NestJS and Next.js App Router
- Social login with GitHub, Google, Facebook and Microsoft
- TOTP two-factor, passkeys and magic links
- Trusted devices and backup codes
- Organizations, SSO and protected routes
Ratings & Reviews
No ratings yet
Be the first to rate better-auth.
People also visit
better-auth FAQ
What does this skill set up?
Better Auth in a NestJS backend and a Next.js App Router frontend, with a Drizzle ORM schema on PostgreSQL.
Which sign-in options does it cover?
Social login with GitHub, Google, Facebook and Microsoft, passkeys, magic links and TOTP two-factor codes.
Does it cover account recovery?
Yes. It covers trusted devices and backup codes.
How do I install it?
Run npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill better-auth. Its security audits show Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass.
What are the best better-auth alternatives?
Popular alternatives to better-auth include create-auth-skill, nestjs-expert and nestjs-drizzle-crud-generator. See all better-auth alternatives















