Safe Action Better Auth

Use when adding authentication or authorization to safe actions with Better Auth -- covers betterAuth() middleware setup, typed session context (BetterAuthContext), custom authorize callbacks (AuthorizeFn), unauthorized() handling, nextCookies() configuration, and Next.js authInterrupts setup

next-safe-action Updated

File contents

next-safe-action/skills/tree/main/skills/safe-action-better-auth commit 60a98090b6

Frequently asked questions

npx skillmds@latest add next-safe-action/safe-action-better-auth