authjs-knowledge-patch
OfficialAvoid Auth.js v5 migration regressions
AuthorNevaberry
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides concise, verified guidance to prevent broken Auth.js (NextAuth) integrations when upgrading to Auth.js v5, reducing runtime errors and deprecated-pattern bugs caused by training-cutoff knowledge gaps.
Core Features & Use Cases
- Next.js 16 proxy.ts migration: explains proxy.ts replacing middleware.ts and how to export auth as proxy or wrap it with custom logic.
- Provider behavior changes: documents idToken:false behavioral change and how Auth.js now consults userinfo endpoints.
- WebAuthn / Passkeys setup: lists peer dependencies, required Authenticator table schema, Prisma adapter notes, and custom signin flow examples.
- Configuration & env guidance: covers auth.ts/auth.config split, AUTH_ environment variable conventions, cookie prefix changes, and adapter package renames.
- Use Case: migrating a Next.js app from Auth.js v4 to v5 while enabling passkeys and preserving server/edge adapter compatibility.
Quick Start
Apply the authjs-knowledge-patch to update my Next.js Auth.js configuration to v5 including proxy.ts migration, idToken adjustments, and WebAuthn/passkey setup.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: authjs-knowledge-patch Download link: https://github.com/Nevaberry/nevaberry-plugins/archive/main.zip#authjs-knowledge-patch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.