supertokens / supertokens-node

Node SDK for SuperTokens core
https://supertokens.com
Other
287 stars 76 forks source link

Fetching error #692

Closed yousuf123456 closed 11 months ago

yousuf123456 commented 11 months ago

So there is a very wierd behaviour going on with my nextjs app. When I close my browser and my server and then reopens everything again open up the website in the browser and if I was already logged in, than when ever I try to fetch data from api, it throws me this error. But then if I logout the error stops coming and error does not come after I login again after logging out. So the error only comes at the very beginning. Why is it so ? And this is superTokens specific bcz you can see in the error pointing to node_modules/supertokens-node. Using the most latest version of next js and SuperTokens SDK's d2f80d6e-5400-4867-8ab6-7856dd56a2d9