Problem
Claude Code credentials are not being refreshed in the CLI. After a login expires, users are forced to perform a new login rather than receiving a refreshed authentication token.
Steps to Reproduce
- Login to Claude Code using the CLI.
- Let the session expire.
- Attempt to refresh or use the CLI again.
- Observe that the CLI requires a new login instead of refreshing credentials.
Expected Behavior
- Credentials should be refreshed automatically when the session expires, allowing continued usage without manual re-login.
Actual Behavior
- Users are prompted to login again instead of having their credentials refreshed automatically.
Impact
- Degrades user experience for workflows relying on persistent authentication.
Possible Solution
- Investigate the authentication flow and implement logic to refresh credentials as expiration approaches.
Additional Information
- No error message is provided when credentials expire, simply a prompt to login again.
Problem
Claude Code credentials are not being refreshed in the CLI. After a login expires, users are forced to perform a new login rather than receiving a refreshed authentication token.
Steps to Reproduce
Expected Behavior
Actual Behavior
Impact
Possible Solution
Additional Information