chatbot-template/app/(auth)/auth.config.ts

14 lines
356 B
TypeScript
Raw Normal View History

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