fix
patch
feat/phase-2g-bundle
fix: restore backward-compat JWT fallback in image proxy for pre-token-migration hub.js
The Phase 3.2 change replaced full-JWT ?token= auth with short-lived HMAC-signed tokens. However, the currently deployed hub.js still sends the full session JWT as ?token=, causing image proxy requests to 401.
Add a JWT fallback in both gateway and self-hosted image proxy: after the HMAC verifyImageProxyToken check fails, attempt to verify the query token as a standard JWT. This restores images for the already- deployed frontend until the updated hub.js (PR #136) is live.
New tests added to test/phase3-security.test.mjs verifying the backward-compat path is present in both servers.
sha256:b9908eeb4b88c902193d61c61c9fe25094d59ddd0d191bc10082b4ac94a55e75
sha
sha256:6032887bf658eae665cc0f98b9e6901ca7ae1d084d95e8c616b22877acf73543
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:b9908eeb4b88c902193d61c61c9fe25094d59ddd0d191bc10082b4ac94a55e75 --body "your comment"
No comments yet. Be the first to start the discussion.