Skip to content

feat(sandbox): request the sandbox OAuth scope on login#927

Closed
codyde wants to merge 1 commit into
masterfrom
cody/sandbox-oauth-scope
Closed

feat(sandbox): request the sandbox OAuth scope on login#927
codyde wants to merge 1 commit into
masterfrom
cody/sandbox-oauth-scope

Conversation

@codyde
Copy link
Copy Markdown
Collaborator

@codyde codyde commented May 31, 2026

Follow-up to the merged railway sandbox commands (#925).

Backboard is adding a required sandbox OAuth scope for all sandbox operations (least-privilege: a sandbox-scoped token can't reach the rest of the account, and is safe to inject into a sandbox). This adds sandbox to CLI_SCOPES so railway login requests/grants it.

Rollout / UX note: this is a one-line, non-breaking CLI change on its own. But once backboard enforces the scope, existing sessions must railway login again — a token refresh keeps the originally-granted scopes, so only a fresh consent picks up sandbox. Ship + roll out this CLI change before enabling backboard enforcement to avoid locking out current users.

🤖 Generated with Claude Code

Backboard now requires the `sandbox` scope for all sandbox operations; add it to
CLI_SCOPES so `railway login` grants it. Existing sessions must re-login (a token
refresh keeps the original scopes, so a fresh consent is required) once the
backboard enforcement deploys.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codyde codyde closed this Jun 3, 2026
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