OpenClaw 通过路由本地 Claude CLI 请求,成功绕过 Anthropic 的 OAuth 封禁以维持代理运行。

部署运维📅 2026/04/04
#CI/CD#CLI#部署#开发者#GitHub#手动触发#中风险#可复用#半自动#代码#代码仓库
终端界面展示 OpenClaw CLI 命令将认证提供者切换为 Anthropic CLI 模式以实现无中断代理执行
Claude Banned OpenClaw OAuth? We Bypassed It.

Anthropic killed 3rd-party OAuth for subs today (April 4), shoving everyone onto the expensive API.

OpenClaw doesn't care. We're moving downstream. Instead of fighting the OAuth ban, we're piping Claude CLI directly into OpenClaw.

Your subscription stays valid, your wallet stays shut, and the agents keep running.

The "Bypass" Setup:

- Confirm you're signed in on your host: claude auth status
- Run this to flip your gateway from the banned API path to the CLI backend:
- Bash openclaw models auth login --provider anthropic --method cli --set-default
- OpenClaw now calls your local claude binary. It reuses your session IDs and sub limits withoricted OAuth endpoints.
- use model claude-cli/opus-4.6 to access it

Important note:
Anthropic requires Extra Usage instead of included Claude subscription limits for this path.

They can ban us but they can't stop us