OpenClaw bypasses Anthropic's OAuth ban by routing requests through the local Claude CLI to maintain

Deploy & Ops📅 2026/04/04
#CI/CD#CLI#Deployment#Developer#GitHub#Manual Trigger#Medium Risk#Reusable#Semi-Automatic#代码#代码仓库
Terminal window displaying OpenClaw CLI commands switching authentication provider to Anthropic CLI method for uninterrupted agent execution
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