Skip to content

[BUG] OAuth error: Request failed with status code 403 #8007

Description

@Eldorado-ling

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

win11 专业版
git version 2.48.1.windows.1
node v22.19.0
1.0.120 (Claude Code)
claude pro
使用账户授权,只要一点击授权就会报错OAuth error: Request failed with status code 403

What Should Happen?

希望能够成功登录

Error Messages/Logs

OAuth error: Request failed with status code 403

Steps to Reproduce

claude
/login
1

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

1.0.120 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:authbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:windowsIssue specifically occurs on WindowsstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions