mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 17:21:41 +10:00
wip: refresh design
This commit is contained in:
17
apps/web/src/pages/api/auth/[...nextauth].ts
Normal file
17
apps/web/src/pages/api/auth/[...nextauth].ts
Normal file
@ -0,0 +1,17 @@
|
||||
// import { NextApiRequest, NextApiResponse } from 'next';
|
||||
import NextAuth from 'next-auth';
|
||||
|
||||
import { NEXT_AUTH_OPTIONS } from '@documenso/lib/next-auth/auth-options';
|
||||
|
||||
export default NextAuth({
|
||||
...NEXT_AUTH_OPTIONS,
|
||||
pages: {
|
||||
signIn: '/signin',
|
||||
signOut: '/signout',
|
||||
error: '/signin',
|
||||
},
|
||||
});
|
||||
|
||||
// export default async function handler(_req: NextApiRequest, res: NextApiResponse) {
|
||||
// res.json({ hello: 'world' });
|
||||
// }
|
||||
Reference in New Issue
Block a user