[BUG] Cannot log in to Claude code nor VSCode extension

Status Open
Reported on v2.1.215
Maintainer reply None cached
Activity 2 comments · opened Jul 21, 2026

Preflight Checklist

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

What's Wrong?

When I try to authorize claude code for my subscription, in the web browser below:

<img width="1154" height="853" alt="Image" src="https://github.com/user-attachments/assets/1d082740-8cd6-4241-9bfb-cee6b973b851" />

I click on Authorize, the, I get the request of signing in again:

<img width="1111" height="643" alt="Image" src="https://github.com/user-attachments/assets/4eedf349-b4c7-4252-9768-448076b97a86" />

When I sign in again, I get to the first screen that asks me to authorize, and if I click again it asks me to sign in again, and so on.

I never get to log in neither claude code nor the VSCode extension, with the exact same problem.

I am on an Ubuntu 26.04 machine. The extension and claude worked just fine until two days ago.

What Should Happen?

Claude should be able to log in but in the browser, it eneters an infinite loop of authorize -> sign in again -> authorize -> ...

Error Messages/Logs

No stack traces, I never get out of the web browser log in screen, as described above.

Steps to Reproduce

In the terminal I type claude login, then I get to the web browser screen depicted above.

Claude Model

_No response_

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.215

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗