Files
formbricks/apps/web/app/api/auth/[...nextauth]/route.ts
Matti Nannt 04f536b7c6 Add support for Next.js Server-Components (#272)
* Add new env variable NEXT_PUBLIC_WEBAPP_URL that is used server-side for the current address

* Move Next-Auth to App-Directory

* Move Membership-API & User-API to App-Directory

* Update env-examples with new structure
2023-05-03 15:17:23 +02:00

7 lines
164 B
TypeScript

import NextAuth from "next-auth";
import { authOptions } from "./authOptions";
const handler = NextAuth(authOptions);
export { handler as GET, handler as POST };