import NextAuth from "next-auth"; import { env } from "@/env"; // Proxy authentication must only decode the Auth.js session. Importing the // full CMS auth configuration here would also run Prisma/settings callbacks. export const { auth: proxyAuth } = NextAuth({ trustHost: true, secret: env.AUTH_SECRET, session: { strategy: "jwt" }, providers: [], });