Auth

Authentication with Better Auth 1.6, the locked stack default (Auth.js/NextAuth is maintenance-mode legacy) — server config with the Drizzle adapter, CLI-generated schema, client hooks, optimistic route protection in proxy.ts (Next 16, never middleware.ts), authoritative session checks in RSC and in every mutation, and a sign-in page styled to the design system, never the default unstyled form. Invoke during the backend phase whenever the brief needs accounts, protected pages, or roles, or the user says "auth", "login", "sign in", "sign up", "sessions", "protected routes", or "user accounts".

blyatiful1 5e70cec 3 files · 9.9 KB Updated

File contents

blyatiful1/ultraweb/tree/main/skills/auth commit 5e70cec2ca

Frequently asked questions

npx skillmds@latest add blyatiful1/auth