[BUG] : I am not able to login to Claude Code just two days before the actual renewal date. Repeats every month.
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?
[BUG] : I am not able to login to Claude Code just two days before the actual renewal date. It happens every month. I get the prompt that "Not logged in · Please run /login". Though I tried, it never opened a browser to authenticate. But Claude application is working fine. I have been facing this issue for the past three months. Initially I thought it was just a mistake, but now I notice that it keeps happening.
<img width="1902" height="1050" alt="Image" src="https://github.com/user-attachments/assets/44a8c9fb-0f8c-4a8b-af78-4762330535cf" />
What Should Happen?
It should happen, only renewal is n't done on-time or after the actual expiry date.
Error Messages/Logs
Steps to Reproduce
In Terminal, I just tried to invoke claude in my project folder using "Claude" command
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
As I am not logged in, it didn't allow to run the command.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
<img width="1902" height="1050" alt="Image" src="https://github.com/user-attachments/assets/baca4f00-5d26-4d3e-9472-540b6d590058" />