I’m aware of the tweet that says otherwise, but until they update their legal documentation, it’s still not allowed.
> OAuth authentication (used with Free, Pro, and Max plans) is intended exclusively for Claude Code and Claude.ai. 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.
https://code.claude.com/docs/en/legal-and-compliance#authent...