You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The current OriginMiddleware determines the request origin and sets a secure cookie in the browser. While this works correctly for Chromium-based browsers and Firefox, it fails in Safari. This is because Safari does not treat http://localhost as a secure context, and subsequently refuses to set cookies marked as Secure.
Consequently, applications relying on this origin cannot function properly during local development on Safari.
Proposed Change:
To support development across all browsers, we should make the cookie attributes configurable at the application level. We propose adding options for:
path
sameSite
secure (allowing it to be set to false for local dev)
We will continue to default httpOnly to true for the time being.
Activity
#20: updated config
#20: set cookie based on config options
#20: bumped version of packages
#20: processed feedback
#20: processed feedback