link-stack/apps/bridge-frontend/app/api/auth/[...nextauth]/route.ts
2025-11-10 14:55:22 +01:00

9 lines
292 B
TypeScript

import NextAuth from "next-auth";
import { authOptions } from "@/app/_lib/authentication";
// Force this route to be dynamic (not statically generated at build time)
export const dynamic = 'force-dynamic';
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };