OAuth Authentication is needed after each command invocation
Resolved 💬 3 comments Opened Mar 5, 2026 by 9uapaw Closed Apr 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?
For each command invocation it seems that the OAuth authentication token is not persisted and Claude requires constant authentication on the subsequent parts. Tried reinstalling, logging out, nuking the entire config etc..
What Should Happen?
Authentication should not disrupt the workflow by opening new browser tabs.
Error Messages/Logs
⏺ Bash(...)
⎿ If browser window does not open automatically, open it by clicking on the link:
http://127.0.0.1:....
ERROR: no target host specified
⏺ Bash(...)
⎿ If browser window does not open automatically, open it by clicking on the link:
http://127.0.0.1:....
ERROR: no target host specified
⏺ Bash(...)
⎿ If browser window does not open automatically, open it by clicking on the link:
http://127.0.0.1:....
ERROR: no target host specified
Steps to Reproduce
This is happening consistently on every Claude session
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.63
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
The authentication browser tags are opened up as the logs show.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗