-
-
Notifications
You must be signed in to change notification settings - Fork 260
Open
Description
It seems like the change to the cookies() function in Next.js may have broken a variety of things (#840, #861, #869).
The specific issue that I've encountered is that the cookie does not get saved when using Safari (version 18.0.1). I've created a simple reproduction for the issue here: https://github.com/josiahwiebe/iron-session-next-15-safari-example
Steps to reproduce
These examples should be tested in Safari. In Chromium based browsers and Firefox, this example behaves as expected.
- Test the example "using iron-session". Click login, and refresh the page. Your logged-in state will not be preserved.
- Test the example "using iron-session seal/unseal". This is the current workaround I'm using. Your logged-in state should be preserved on refresh.
Metadata
Metadata
Assignees
Labels
No labels