default NextAuth middleware and custom middleware conflicting
When I add this function middleware, the nextauth middleware stops working. I need the nextauth middleware to redirect to
http://localhost:3000/login?callbackUrl=http%3A%2F%2Flocalhost%3A3000%2Fproducts
when a user is not signed in.0 Replies