2025-09-20 12:47:10 -07:00
|
|
|
import type { NextAuthConfig } from "next-auth";
|
2024-10-11 18:00:22 +05:30
|
|
|
|
|
|
|
|
export const authConfig = {
|
|
|
|
|
pages: {
|
2025-09-20 12:47:10 -07: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;
|