drop/desktop/main
wdunn001 c7ffc2b994 desktop: route News through the client-JWT path; bump to 0.4.4
News called /api/v1/client/news through apiGet(), which sends the
webtoken Bearer obtained from POST /api/v1/client/user/webtoken. But
that route is a defineClientEventHandler -- it verifies the clients own
short-lived signed JWT and never consults the webtokens ACLs at all, so
it rejected the request outright. Store and Library have always worked
because they already use the JWT path.

Adds api_get_jwt on the Rust side and apiGetClient() in the composable,
and points News at it. Verified working against the live server.

Two auth mechanisms coexist here and picking the wrong one yields a
clean 403 that looks like a permissions problem: /api/v1/client/* wants
the client JWT, while routes gated by aclManager.getUserIdACL want the
webtoken plus the right ACL.
2026-08-03 23:46:04 -04:00
..
assets Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
components desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
composables desktop: route News through the client-JWT path; bump to 0.4.4 2026-08-03 23:46:04 -04:00
layouts Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
pages desktop: route News through the client-JWT path; bump to 0.4.4 2026-08-03 23:46:04 -04:00
plugins Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
public Async downloader, better Proton support (#183) 2026-02-06 23:24:14 +11:00
app.vue Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
error.vue desktop: fix community telemetry to match the corrected architecture, fix a release-blocking borrow-checker error 2026-08-02 00:45:05 -04:00
nuxt.config.ts move base to libraries 2026-03-30 19:38:14 +11:00
package.json chore(deps): bump markdown-it from 14.1.1 to 14.2.0 in /desktop/main (#422) 2026-07-29 20:55:20 +10:00
pnpm-lock.yaml chore(deps): bump markdown-it from 14.1.1 to 14.2.0 in /desktop/main (#422) 2026-07-29 20:55:20 +10:00
pnpm-workspace.yaml Game updates (#187) 2026-02-25 23:27:30 +11:00
tailwind.config.js New v0.4.0 website 2026-04-03 01:25:10 +00:00
tsconfig.json Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
types.ts desktop: fix community telemetry to match the corrected architecture, fix a release-blocking borrow-checker error 2026-08-02 00:45:05 -04:00