Next.js Discord

Discord Forum

issue with cookies

Unanswered
Azawakh posted this in #help-forum
Open in Discord
AzawakhOP
I am setting the accesstoken from the node js server, and have an maxAge of 2025 and the sameSite of lax but it is deleted when I refresh the page and this only happens in production and works fine in local. How can it be fixed it what might be the possiblities for which this can happen.

1 Reply