- NextAuth config with PrismaAdapter, database sessions - Session callback enriches with role + organizationId - Login page with Google and Microsoft sign-in buttons - Cookie-based middleware for auth protection (Edge-compatible) - Type augmentation for session user fields Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| next-auth.d.ts | ||