Skip to content

Fix Tiny Sunny live updates: send the workspace key as Bearer - #52

Merged
amitbardos merged 1 commit into
mainfrom
fix/socket-session-bearer
Oct 4, 2026
Merged

amitbardos merged 1 commit into
mainfrom
fix/socket-session-bearer

Conversation

@amitbardos

Copy link
Copy Markdown
Contributor

Live updates on tiny.sunny44.com pause right away with "Live updates paused". openBuilderSession returns 503 ("needs a workspace key with the apps:watch scope").

Cause: POST /api/service/socket-sessions reads the key with extract_bearer_token (apper backend/app/whitelabel_sockets/api.py), so it only accepts Authorization: Bearer <key>. #50 sent the bare key and got 401, which the example maps to the scope message. The fix was pushed to #50's branch after it had merged.

One line in lib/base44/socket-session.ts, plus the server test assertion. Unit tests pass.

If the message stays after deploy, the key in BASE44_SVC_KEY really is missing the apps:watch scope ("Watch app builder updates" on the workspace key).

🤖 Generated with Claude Code

…en opening a socket session

POST /api/service/socket-sessions reads the key with extract_bearer_token,
so the bare key got 401, which the example reported as a missing
apps:watch scope and paused live updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sunny44-builder ready!

Name Link
🔨 Latest commit 4db167b
🔍 Latest deploy log https://app.netlify.com/projects/sunny44-builder/deploys/6ac2605c2ab69100084a3063
😎 Deploy Preview https://deploy-preview-52--sunny44-builder.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base44-platform-starter ready!

Name Link
🔨 Latest commit 4db167b
🔍 Latest deploy log https://app.netlify.com/projects/base44-platform-starter/deploys/6ac2605c62cd0d0009417190
😎 Deploy Preview https://deploy-preview-52--base44-platform-starter.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@amitbardos
amitbardos merged commit ed58c1e into main Oct 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant