WIP: frontend: attach auth credentials to all API requests #5

Draft
restitux wants to merge 1 commits from auth/5-attach-credentials into auth/4-frontend-login

1 Commits

Author SHA1 Message Date
restitux 786579a7d8 frontend: attach auth credentials to all API requests
Add Authorization Bearer header to all fetch calls (apps, stream
start). Handle 401 responses by clearing token and redirecting to
login. Pass stream_token from the stream start response through to
the WebTransport URL as a query parameter for proxy authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 15:36:29 +00:00