Files
ODIAN_Launcher/src-tauri
JIMMY_JFEXP 425acebe0d Dev mode: sign the web client in so live mode reaches it
A dev run's web client showed no live tracks while the .exe beside it did.
Root cause: the local API relays a request to the DHP only when it carries a
token that API minted itself (main.cpp's forwarder, the guard that keeps it
from being an open proxy). The .exe mints one with ODIAN_MINT_SECRET; the web
client was opened with ?user= only, so every /session/* call it made was
served from this PC's database.

The launcher now mints a token from this stack's API for the run's operator
(stack::mint_web_token) and opens the browser with it in the URL FRAGMENT
(StackConfig::web_url_signed). A fragment never reaches a request line or a
server log, and the launcher's own log still prints the tokenless address.
If the mint fails the web opens as before and the log says it shows this PC's
data only. Needs ODIAN_Engine's _WEB/src/auth.ts to read #token=.

Spot-check: launch dev mode with the web target while online; the API log
reads "now LIVE on the DHP" and the browser shows live tracks.
2026-09-29 12:11:38 +02:00
..
2026-09-28 11:19:02 +02:00
2026-09-29 10:29:52 +02:00
2026-09-23 16:05:19 +02:00
2026-09-25 10:14:44 +02:00
2026-09-29 10:29:52 +02:00