Environment
- Platform (select one):
- Claude CLI version: 0.2.103 (Claude Code)
- Operating System: Linux (based on your terminal prompt showing "appuser@ubuntu-8gb-nbg1-1")
- Terminal: Bash terminal
- Node version: v18.19.1
- npm version: 9.2.0
ip 91.99.25.251
Bug Description
When trying to authenticate with Claude Code CLI, the browser authentication flow fails with a 403 error. After entering the authentication code, I receive a "Request failed with status code 403" error.
Steps to Reproduce
- Run the
claude command to start Claude Code
- Authentication flow begins and provides URL
- After entering the authentication code, receive: "OAuth error: Request failed with status code 403"
- Pressing Enter to retry results in the same error
Expected Behavior
Authentication should complete successfully and Claude Code should launch.
Actual Behavior
Authentication fails with "OAuth error: Request failed with status code 403" after entering the authorization code.
Additional Context
The exact error message is:
Environment
ip 91.99.25.251
Bug Description
When trying to authenticate with Claude Code CLI, the browser authentication flow fails with a 403 error. After entering the authentication code, I receive a "Request failed with status code 403" error.
Steps to Reproduce
claudecommand to start Claude CodeExpected Behavior
Authentication should complete successfully and Claude Code should launch.
Actual Behavior
Authentication fails with "OAuth error: Request failed with status code 403" after entering the authorization code.
Additional Context
The exact error message is: