Authentication & Identity Manager

•
1
•

Integrates, configures, and debugs complex authentication flows including Better Auth, Supabase, and OAuth systems.

This skill provides a comprehensive reference library and implementation framework for wiring authentication and authorization into web or mobile applications. It offers domain-specific guidance for modern stacks like Better Auth with Drizzle/Neon, legacy support for Supabase Auth, and third-party integrations with Google OAuth and Resend for magic links. Designed to prevent common architectural 'footguns,' it specializes in resolving session callback failures, debugging redirect URI mismatches, and managing secure SSR cookie handling for production-ready identity management.

Características Principales

01Transactional email and magic-link integration via Resend
02Comprehensive debugging for redirect_uri_mismatch and invalid_grant errors
031 GitHub stars
04Universal 'footgun' prevention for secure token handling and refresh loops
05Detailed SSR cookie management and session persistence patterns
06Standardized setup for Better Auth, Supabase, and Google OAuth providers

Casos de Uso

01Migrating legacy auth SDKs to modern SSR-compatible identity solutions
02Troubleshooting broken authentication loops or session callback failures
03Wiring social login and magic-link flows into a new Next.js project