Claude Code Login Issue: How to Fix the “Can’t Paste Authentication Code” Error on macOS and Windows
If you just ran claude login, got your authentication code from the browser, and your terminal silently refuses to paste it, you are not doing anything wrong. This was a known regression that started in Claude Code v2.1.105 and persisted through v2.1.107, confirmed by Anthropic’s own changelog and dozens of open bug reports on GitHub. The paste prompt swallowed your input because bracketed paste mode stopped being handled correctly after a v2.1.86 fix for OAuth token masking, and the fallout hit macOS Terminal, iTerm2, Warp, Windows Terminal, PowerShell, and WSL2 at the same time. The good news: Anthropic shipped an official fix in Claude Code v2.1.108 on April 14, 2026. […]
