[BUG] `claude --teleport` does not properly auto-refresh the token

Resolved 💬 3 comments Opened Feb 2, 2026 by pvieito Closed Mar 3, 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?

claude --teleport xxx does not properly refresh the token, so if you had not a recent claude-code session it will just fail instead of trying to refresh the token.

What Should Happen?

claude --teleport xxx should try to refresh the token first.

Error Messages/Logs

Steps to Reproduce

Wait for the token to expire (wait for 12h for example) and run claude --teleport xxx. It will fail.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.29 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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