link-stack/apps/bridge-frontend/app/api/auth/[...nextauth]/route.ts

10 lines
292 B
TypeScript
Raw Normal View History

2024-03-17 12:58:25 +01:00
import NextAuth from "next-auth";
import { authOptions } from "@/app/_lib/authentication";
2025-11-10 14:55:22 +01:00
// Force this route to be dynamic (not statically generated at build time)
export const dynamic = 'force-dynamic';
2024-03-17 12:58:25 +01:00
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };