NextAuth.js Core Knowledge Deep Knowledge : Use with technology: for comprehensive documentation. Basic Setup (App Router) Client Usage Server-Side Auth When NOT to Use This Skill - Generic OAuth 2.0 flows - Use skill for platform-agnostic OAuth - Custom JWT implementation - Use skill for custom token logic - Non-Next.js frameworks - Use framework-specific auth (Express Passport, etc.) - Remix/SvelteKit - Use their native auth solutions Type Extensions Anti-Patterns | Anti-Pattern | Why It's Bad | Correct Approach | |--------------|--------------|------------------| | No NEXTAUTH SECRET | Sec…