Claude OAuth login / clarify ToS risk vs. Anthropic's stated policy
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
Thanks for jcode, I'm kinda happy to found it so far.
Quick flag: jcode login --provider claude uses Pro/Max subscription OAuth. Anthropic's compliance docs currently say those tokens are only for Claude Code and Claude.ai, explicitly including the Agent SDK as out of scope:
"Using OAuth tokens obtained through Claude Free, Pro, or Max accounts in any other product, tool, or service, including the Agent SDK, is not permitted and constitutes a violation of the Consumer Terms of Service."
They've apparently been enforcing this since January 2026, and OpenCode dropped its bundled Claude OAuth plugin after a legal request. Same question came up on the Pi project:
https://github.com/earendil-works/pi/discussions/1999
Questions:
- Is this flow believed to be fine somehow, or the same pattern being enforced against elsewhere?
- Any known risk of it getting blocked like OpenCode's?
- Worth a heads-up in the README/CLI near that login command?
Just want the actual picture here, everything in this space seems to shift under our feet week to week.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the implementation behind jcode login --provider claude, then compare its OAuth use with Anthropic's quoted policy and the linked Pi discussion. Confirm whether a project-side change is needed; if so, document the supported scope or risk near the README or CLI login guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- authentication, cli, documentation, security
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100