How to access updated cookies in the Middleware of NextJs
MarkBuoy opened this issue · 2 comments
MarkBuoy commented
I am setting cookies on the Client side with the package "nookies". Right after that, I redirect the user to another page and trigger the middleware that retrieves the current cookies.
The cookies don't contains the updated cookies, is there something I do wrong in my flow?
Thank you in advance for your help!
martinIvovIv commented
Jscripter-pk commented
@MarkBuoy Did you get the fix for your use-case as I am facing the same issue from last 2 days. 😔