drop/desktop/src-tauri
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
..
capabilities Process manager fixes (#71) 2025-07-25 10:44:40 +10:00
client chore(deps): bump serde_with in /desktop/src-tauri/client (#441) 2026-07-29 20:53:46 +10:00
cloud_saves chore(deps): bump tar from 0.4.44 to 0.4.46 in /desktop/src-tauri (#420) 2026-06-15 08:11:47 +10:00
database desktop: fix community telemetry to match the corrected architecture, fix a release-blocking borrow-checker error 2026-08-02 00:45:05 -04:00
download_manager New v0.4.0 website 2026-04-03 01:25:10 +00:00
games New v0.4.0 website 2026-04-03 01:25:10 +00:00
icons feat(tray icon): initial creation and logo update 2024-12-19 10:09:25 +11:00
process desktop: fix community telemetry to match the corrected architecture, fix a release-blocking borrow-checker error 2026-08-02 00:45:05 -04:00
remote desktop: enable gzip+zstd reqwest features so chunk downloads honor ingress compression; bump client to 0.4.1 2026-08-03 15:22:13 -04:00
src desktop: route News through the client-JWT path; bump to 0.4.4 2026-08-03 23:46:04 -04:00
tailscale Attempt fix monorepo build (#404) 2026-04-27 15:38:05 +10:00
utils Depot API & executor launch (#173) 2026-01-20 11:40:48 +11:00
.gitignore initial commit 2024-10-06 01:10:57 +10:00
build.rs Fix platform builds 2025-08-12 15:08:50 +10:00
Cargo.lock desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
Cargo.toml desktop: native News, Friends, and Alerts pages; retire the browser-linkout Community tab 2026-08-03 19:42:50 -04:00
rust-toolchain.toml Implement better error system and segregate errors and commands (#23) 2025-01-13 21:44:57 +11:00
tauri.conf.json desktop: route News through the client-JWT path; bump to 0.4.4 2026-08-03 23:46:04 -04:00