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

14 lines
381 B
TypeScript

import type { NextAuthConfig } from "next-auth";
export const authConfig = {
basePath: "/api/auth",
pages: {
signIn: "/login",
newUser: "/",
},
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
],
callbacks: {},
} satisfies NextAuthConfig;