getServerSession is null in route handlers when I call the api from server component - next13 app directopry #7693
Labels
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Environment
next 13.4.3 and next-auth ^4.22.1
Reproduction URL
Describe the issue
Hi
I'm using next 13.4.3 and next-auth ^4.22.1 and this is my API folder:
properties/route.ts
When I call be API from a server component, the session is null but when I call it from a client component it works!
How to reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: