api-client/packages/hoppscotch-common
Shreyas eee92bbeeb
fix(desktop): token validation and cookie parsing (#5569)
This fixes desktop app auth failures where users encounter
 "Session expired" errors when creating environments or
 saving requests despite being logged in.

 The issue occurred because token verify/validation works on web
 (cookie-based auth) but fails on desktop (bearer token auth). The
 desktop implementation had flaky response parsing in
 `verifyAuthTokens()`.

 Includes some future proofing work around cookie parsing
 in `setAuthCookies()`, for Set-Cookie headers contain commas
 or are concatenated with newlines (see #5394).
2025-11-10 23:10:43 +05:30
..
assets feat: collection variables (#5325) 2025-08-22 14:39:42 +05:30
locales feat(common): handle null collection and add private access hint for mock servers (#5527) 2025-10-29 23:21:05 +06:00
public chore: added micro interactions (#3783) 2024-01-30 18:42:42 +05:30
src fix(desktop): token validation and cookie parsing (#5569) 2025-11-10 23:10:43 +05:30
.eslintrc.js chore: bump dependencies and account for breaking changes (#5329) 2025-08-20 23:04:14 +05:30
.gitignore chore: split app to commons and web (squash commit) 2022-12-02 03:05:35 -05:00
.prettierignore chore: split app to commons and web (squash commit) 2022-12-02 03:05:35 -05:00
.prettierrc.js chore: hoppscotch-ui improvements (#3497) 2023-12-06 00:08:44 +05:30
gql-codegen.yml feat: introduce gql schema sdl generation to the backend (#35) 2023-03-13 18:52:50 +05:30
languages.json chore: i18n 2023-12-16 12:29:44 +05:30
meta.ts chore: make style sheets consistent (#3074) 2023-05-29 20:12:58 -04:00
package.json chore: bump version to 2025.10.0 2025-10-27 23:04:50 +05:30
tsconfig.json feat: platform independent core and the new desktop app (#4684) 2025-02-28 00:01:25 +05:30
type-check.mjs feat(common): authentication strategy improvements (#5130) 2025-06-25 22:12:09 +05:30
vitest.config.mts chore: bump dependencies and account for breaking changes (#5329) 2025-08-20 23:04:14 +05:30