plane/god-mode/app/api/auth/[...nextauth]/route.ts

11 lines
417 B
TypeScript
Raw Normal View History

2024-02-02 12:08:31 +00:00
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);
}