[Feature Request] Allow `claude remote-control` to work via Dispatch (Claude Desktop) without re-authentication
Resolved 💬 2 comments Opened Mar 30, 2026 by digitaljethiro Closed Mar 30, 2026
Problem
When using Claude Desktop's Dispatch feature to start claude remote-control in a code task, it fails because:
- Claude Desktop automatically sets
CLAUDE_CODE_OAUTH_TOKENenvironment variable, which is an inference-only token remote-controlrequires a full-scope login token fromclaude login- Even if the user has recently run
claude login, theCLAUDE_CODE_OAUTH_TOKENenv var takes precedence and overrides it - OAuth tokens from
claude loginexpire after 8-12 hours, making it impractical to pre-authenticate before going out
Desired Behavior
Users should be able to start claude remote-control from Dispatch (or code tasks spawned by Dispatch) without needing manual terminal access. This would enable a powerful workflow: controlling Claude Code remotely from a phone via Dispatch.
Use Case
A developer wants to:
- Leave their Mac at home/office
- Open Claude Desktop on their phone (Dispatch)
- Start
claude remote-controlon a specific project remotely - Do development work with Claude from anywhere
This is incredibly close to working but blocked by the authentication scope limitation.
Suggested Solutions
- Allow Dispatch/Claude Desktop to pass a full-scope token to code tasks
- Or allow
remote-controlto work with the token that Claude Desktop already provides - Or implement longer-lived tokens for
claude loginthat persist across sessions
Environment
- Claude Code version: 2.1.87
- Using Claude Desktop (Dispatch feature)
- macOS
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗