Skip to content

How to access updated cookies in the Middleware of NextJs #571

@MarkBuoy

Description

@MarkBuoy

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions