workos / authkit-nextjs

The WorkOS library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js.
MIT License
43 stars 9 forks source link

Fix cookies not setting on Safari on localhost #25

Closed benoitgrelard closed 3 months ago

benoitgrelard commented 3 months ago

This PR fixes the issue where Safari wouldn't set cookies when used for testing locally.

More info: https://codedamn.com/news/web-development/safari-cookie-is-not-being-set#:~:text=The%20Issue%20with,of%20web%20development.