6 months ago
0
20
I'm working on my project baseCase. I've set up Google Provider using NextAuth. Everything works perfectly on my local dev environment, but as soon as I deploy, useSession() returns null even after a successful redirect. I suspect it's an issue with my NEXTAUTH_URL environment variable or middleware configuration.


No one has answered yet. Be the first to answer!
1