however when i click on the button, the authorize function on the nextauth route doesn't get called( i put in some console logs to see it called) any idea why? note: i did add my own signIn page in the nextauth config note2: it works just fine when i use the predfined sign in page
nextauth config: import dbPromise from "@/modules/db";
import NextAuth from "next-auth/next";
import GoogleProvider from "next-auth/providers/google"; import CredentialsProvider from "next-auth/providers/credentials";