You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currenly dont have the time to dive deeper into this, but thats what I found: getServerSession is defined here
It will check for preparedAuthHandler, followed by a fetch, then checking again, without ever setting the value, so it has to result in said error.
Logs
No response
The text was updated successfully, but these errors were encountered:
getServerSession is not supported by the local or refresh providers at the moment, as the local and refresh providers were built to also support static deployments, which is why they placed a focus on client-side interactions.
There is currently an open issue (#854) and PR (#855) that aims to add getServerSession and getToken to the local and refresh providers. You can follow along with the process in these two places!
Environment
0.8.0
Reproduction
More or less following the
playground-local
Describe the bug
When using
getServerSession
it always results in a 500 Error with the message:Additional context
I currenly dont have the time to dive deeper into this, but thats what I found:
getServerSession
is defined hereIt will check for
preparedAuthHandler
, followed by a fetch, then checking again, without ever setting the value, so it has to result in said error.Logs
No response
The text was updated successfully, but these errors were encountered: