Repository navigation
Fix Tiny Sunny live updates: send the workspace key as Bearer - #52
Merged
Merged
Conversation
…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>
✅ Deploy Preview for sunny44-builder ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for base44-platform-starter ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This was referenced Oct 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Live updates on tiny.sunny44.com pause right away with "Live updates paused".
openBuilderSessionreturns 503 ("needs a workspace key with the apps:watch scope").Cause:
POST /api/service/socket-sessionsreads the key withextract_bearer_token(apperbackend/app/whitelabel_sockets/api.py), so it only acceptsAuthorization: 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_KEYreally is missing theapps:watchscope ("Watch app builder updates" on the workspace key).🤖 Generated with Claude Code