api-client/packages
No jae gun 2dc3463b69
fix(backend): use duration instead of timestamp for auth cookie maxAge (#5821)
The maxAge option in Express's res.cookie() expects a duration in milliseconds, not an absolute timestamp. The previous code was adding `Date.now()` to the validity period, causing cookies to expire decades in the future instead of the intended 1 day / 7 days.

This was particularly problematic on macOS due to stricter cookie handling by Safari/WebKit.

Addresses #5818

Co-authored-by: njg7194 <njg7194@users.noreply.github.com>
2026-02-04 11:08:07 +05:30
..
codemirror-lang-graphql chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-agent chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-backend fix(backend): use duration instead of timestamp for auth cookie maxAge (#5821) 2026-02-04 11:08:07 +05:30
hoppscotch-cli chore: bump CLI version 2026-01-23 21:20:36 +05:30
hoppscotch-common fix(common): prevent support menu from triggering in editors (#5811) 2026-02-03 23:46:08 +05:30
hoppscotch-data chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-desktop fix: broken scroll on latest chrome versions (#5816) 2026-02-03 12:07:54 +05:30
hoppscotch-js-sandbox fix: prevent memory leaks in experimental scripting sandbox (#5800) 2026-01-28 11:47:31 +05:30
hoppscotch-kernel chore: security patch for the dependency chain v2026.1.0 (#5786) 2026-01-21 23:25:40 +05:30
hoppscotch-relay feat: platform independent core and the new desktop app (#4684) 2025-02-28 00:01:25 +05:30
hoppscotch-selfhost-web chore: bump version to 2026.1.0 2026-01-23 21:18:39 +05:30
hoppscotch-sh-admin fix: broken scroll on latest chrome versions (#5816) 2026-02-03 12:07:54 +05:30