plane/god-mode/app/api/auth/[...nextauth]/route.ts
2024-02-02 17:38:31 +05:30

11 lines
417 B
TypeScript

import type { NextApiRequest, NextApiResponse } from "next";
import NextAuth from "next-auth";
// auth
// import { getNextAuthOptions } from "@plane/lib";
export default async function auth(req: NextApiRequest, res: NextApiResponse) {
// const authOptions = getAuthOptions(req, res);
// Do whatever you want here, before the request is passed down to `NextAuth`
return await NextAuth(req, res, authOptions);
}