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
In middleware I can see the list of the cookies I've set before (login jwt token etc)
But once in the Server component or API route, the list is empty. I can't seem to push any data from middleware to server component, not cookies, not headers. I tried numerous "solutions" I found online. Can anyone provide a working example or anything for this case. It is EXTREMELY frustrating.
I found this bug, that is supposed to be fixed, but I don't see it: #49442
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a question:
In middleware I can see the list of the cookies I've set before (login jwt token etc)
But once in the Server component or API route, the list is empty. I can't seem to push any data from middleware to server component, not cookies, not headers. I tried numerous "solutions" I found online. Can anyone provide a working example or anything for this case. It is EXTREMELY frustrating.
I found this bug, that is supposed to be fixed, but I don't see it: #49442
Beta Was this translation helpful? Give feedback.
All reactions