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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, cookie session should have httpOnly flag but it hasn't.
await session.set('customerAccessToken', accessToken);
/login response set-cookie header:
set-cookie: __session=%7B%22customerAccessToken%22%3A%2227bf696526198XXXX614b690b978580f%22%7D; Expires=Sun, 29 Jan 2023 16:35:43 GMT; Path=/
Am I doing something wrong?
Tried also with demo Stackblitz code and the result is same - no httpOnly flag.
https://stackblitz.com/edit/shopify-hydrogen-mf1bca?file=README.md
Beta Was this translation helpful? Give feedback.
All reactions