[Bug] OAuth login fails in tmux environment

Resolved 💬 4 comments Opened Jun 3, 2026 by vosslab Closed Jul 7, 2026

Bug Description
bug cannot login to oauth in tmux

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.161
  • Feedback ID: 8caba494-ced9-49bf-b56a-06a8449adc9a

Errors
❯ /repo-rules-reader
⎿  Please run /login · API Error: 401 Invalid authentication credentials

✻ Sautéed for 2s

❯ /login
⎿ Login successful

❯ /repo-rules-reader
⎿  Please run /login · API Error: 401 Invalid authentication credentials

✻ Brewed for 2s

❯ /login
⎿ Login successful

❯ /repo-rules-reader
⎿  Please run /login · API Error: 401 Invalid authentication credentials

✻ Worked for 4s

❯ /feedback bug cannot login to oauth in tmux

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Submit Feedback / Bug Report

Describe the issue below:

bug cannot login to oauth in tmux

Couldn't send feedback (server returned 401). If it keeps failing, you can file at
https://github.com/anthropics/claude-code/issues instead.

View original on GitHub ↗

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