drop/desktop/main/composables
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
..
api.ts desktop: route News through the client-JWT path; bump to 0.4.4 2026-08-03 23:46:04 -04:00
app-state.ts Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
community-ws.ts desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
current-page-engine.ts Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
downloads.ts In-app store, delta version support (#179) 2026-02-06 00:30:27 +11:00
friends.ts desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
game.ts Game updates (#187) 2026-02-25 23:27:30 +11:00
generateGameMeta.ts Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
notifications.ts desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
proton.ts Game updates (#187) 2026-02-25 23:27:30 +11:00
state-navigation.ts Move frontend to main folder (#109) 2025-08-05 16:09:47 +10:00
use-object.ts Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00