Hi Coder 👨🏽💻
I'm learning full-stack from this course: Build a Full-Stack App...
I'm having trouble get a session using the getSession() function.
[next-auth][error][CLIENT_FETCH_ERROR]
i tried to create separate project and use new environment and experienced the same thing.
i think my code is nothing wrong i have followed step by step and as per documentation.
Please help 🙏🏽
SOLVED!
I just config password application in my google account(sign up with app) - Read this
Top comments (5)
What worked for me was changing the getSession in the handlers for getServerSession.
next-auth.js.org/configuration/nex....
Hope it works!
Thanks Dude, already Solved!
tnx man, your advice has helped me a lot.
Did you figure it out?
I have the same error. Please help.
you end up figuring it out?