Claude Code Redesigns Its Sign-In Screens With a Proper Code Field and Clearer Errors

Claude CodeView original changelog

Claude Code 2.1.326 reworks the /login screen so the verification code goes in a real text field, rejected codes explain why, and pasting the wrong thing says what to paste instead. The same look reaches /design-login, /install-github-app, MCP sign-in and the Claude apps gateway screens, and several first-run sign-in dead ends are fixed.

Key Takeaways

  • The verification code now goes in a real text field with an inline reason when a code is rejected.
  • Pasting the wrong thing gives guidance and keeps the prompt open instead of failing.
  • Sign-in screens are consistent across /login, /design-login, /install-github-app and MCP sign-in.
  • Pasted codes are masked in /design-login and /install-github-app.
  • Esc goes back one screen during first-run sign-in instead of doing nothing.
  • VS Code sign-in fixes stop pasted codes from ending the sign-in and keep the saved login on more networks.

A real code field

The /login screen now has a proper text field for the verification code. A rejected code says why directly under the field, and pasting in a short window scrolls the field into view. Pasting a verification code or a web address into the wrong place now says what to do instead, and the prompt stays so the right code can be pasted (anthropics/claude-code#97). claude auth login now shows a pasted sign-in code so a wrong paste can be seen and corrected before Enter, and /login and claude setup-token show "Finishing sign-in..." after a code is submitted.

Consistent across screens

/design-login, /install-github-app and MCP sign-in screens now match /login, and the first two mask the pasted code. On the Claude apps gateway sign-in screens the sign-in address is a link and c copies it. When the API refuses a Console sign-in, the error now says to run /login instead of pointing to an admin setting.

First-run fixes

Esc no longer does nothing while the first-run sign-in waits for the browser or a pasted code, and now goes back one screen. Ctrl+C twice works on the first-run theme choice, /logout in fullscreen leaves its message on screen, and the shell prompt is no longer drawn over the last screen after quitting at a sign-in step. VS Code gets matching fixes: pasting a code, address or a code from another attempt no longer ends sign-in, and the saved sign-in is no longer lost on some networks.