RemoteTrigger tool returns 401 despite successful OAuth login
Bug Description
The RemoteTrigger tool consistently returns HTTP 401 authentication errors, even after a successful claude auth login via OAuth.
Steps to Reproduce
- Run
claude auth login— browser opens, login succeeds, CLI confirms "Login successful" - Verify with
claude auth status:
``json``
{"loggedIn": true, "authMethod": "oauth_token", "apiProvider": "firstParty"}
- Use
/scheduleto create a remote trigger - The
RemoteTriggertool call returns:
``json``
HTTP 401
{"type": "error", "error": {"type": "authentication_error", "message": "Authentication failed"}}
Expected Behavior
RemoteTrigger should authenticate using the OAuth token from claude auth login and successfully create/list triggers.
Actual Behavior
Every RemoteTrigger call (create, list) returns 401. This persists:
- After restarting Claude Code
- Across different repositories
- Across multiple sessions
Environment
- OS: Windows 10 Pro 10.0.19045
- Auth method: oauth_token (firstParty)
- Claude Code version: Latest as of 2026-03-28
- Claude GitHub App: Installed on the target repository
Additional Context
This has been reproduced across multiple repos, not just one. The OAuth token appears valid (auth status confirms it) but the RemoteTrigger API endpoint does not accept it.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗