authjs-knowledge-patch
Installation
SKILL.md
Auth.js Knowledge Patch
Use this patch to choose the maintained authentication path, avoid security-sensitive provider mistakes, and apply current Auth.js integration patterns. Read the topic reference before changing an affected flow; the quick reference below prioritizes breaking behavior, security updates, and common implementation work.
Reference index
| Reference | Topics |
|---|---|
| Better Auth transition | Project status, choosing Auth.js or Better Auth, migration direction |
| Providers and authentication | Account linking, credentials errors, email providers, passkeys, OAuth customization, redirect proxies |
| Sessions and frameworks | Session lifecycle, Qwik, SvelteKit, Express |
| v5 migration | Next.js Pages Router limitations, Next.js 16 proxy protection |
| Adapters, operations, and security | Adapter contracts, value normalization, logging, security upgrade floors |