Auth0 with next-auth running locally, but not on Vercel

I had a similar problem. I resolved it by removing another api folder that was on the same directory level as the pages directory. I hope that helps!

1 Like