auth-better-auth

Community

Seamless Better Auth integration for Next.js 16.

Authoraussiegingersnap
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Connects Next.js 16 apps to Better Auth using a Drizzle adapter, providing streamlined authentication including OAuth providers, session management, and protected routes.

Core Features & Use Cases

  • Configure OAuth providers (Google, GitHub, etc.) and manage user sessions in Next.js 16 apps.
  • Protect routes with a proxy.ts pattern and integrate with server components and API routes.
  • Provide a cohesive server-side and client-side auth workflow with a reusable setup.

Quick Start

Configure environment variables and install better-auth, then wire up the proxy.ts and server/client auth setup as shown.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auth-better-auth
Download link: https://github.com/aussiegingersnap/cursor-skills/archive/main.zip#auth-better-auth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.