2024-11-15 10:37:01 -05:00
|
|
|
import type { NextAuthConfig } from 'next-auth';
|
2024-10-11 18:00:22 +05:30
|
|
|
|
|
|
|
|
export const authConfig = {
|
|
|
|
|
pages: {
|
2024-11-05 09:35:04 -05:00
|
|
|
signIn: '/login',
|
|
|
|
|
newUser: '/',
|
2024-10-11 18:00:22 +05:30
|
|
|
},
|
|
|
|
|
providers: [
|
|
|
|
|
// added later in auth.ts since it requires bcrypt which is only compatible with Node.js
|
|
|
|
|
// while this file is also used in non-Node.js environments
|
|
|
|
|
],
|
2025-04-25 23:40:15 -07:00
|
|
|
callbacks: {},
|
2024-10-11 18:00:22 +05:30
|
|
|
} satisfies NextAuthConfig;
|