import type { NextAuthConfig } from "next-auth"; /** * The subset of NextAuth config that doesn't touch the database — no * adapter, no Credentials `authorize()` (which needs Prisma + bcrypt). * `proxy.ts` builds its own lightweight `NextAuth(authConfig)` instance * from this alone, so checking "is there a valid session" on every * request doesn't spin up a Postgres connection pool just to do it. The * full config in `auth.ts` (adapter, real providers) extends this one. */ export const authConfig = { pages: { signIn: "/sign-in", }, providers: [], session: { strategy: "jwt" }, } satisfies NextAuthConfig;