1jehuang / 1jehuang/jcode

Claude OAuth login / clarify ToS risk vs. Anthropic's stated policy

Open
#1,049 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

autonomous: no question triage: needs-decision
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.