Claude Code Shortens the claude.ai Sign-In Link and Adds a Full-Link Option
The claude.ai sign-in link shown by /login, claude auth login and claude setup-token is now much shorter. A new environment variable, CLAUDE_CODE_FULL_SIGN_IN_LINK=1, prints the full link for cases where the short one errors or a script reads values from it.
Key Takeaways
- The sign-in link is much shorter in
/login,claude auth loginandclaude setup-token. - Shorter links copy and paste more reliably from wrapped terminals.
CLAUDE_CODE_FULL_SIGN_IN_LINK=1restores the full link.- Scripts that parse the link should set that variable.
- Accounts on hold now get a proper notice and appeal link in
/install-github-appand/design-login. - Startup under
forceLoginOrgUUIDis no longer refused after one transient server error.
A Much Shorter Sign-In Link
Claude Code 2.1.330 shortened the claude.ai sign-in link that appears during /login, claude auth login and claude setup-token. Long links often wrap or break when copied from a terminal, so a shorter link is easier to open or paste on another device.
Escape Hatch for Scripts
Some setups still need the full link: the short one can show an error in certain environments, and scripts sometimes parse values out of the link. Setting CLAUDE_CODE_FULL_SIGN_IN_LINK=1 makes Claude Code print the full link again.
Related Sign-In Fixes
The release also fixed /install-github-app and /design-login showing a generic failure for an account on hold, so those flows now show the on-hold notice and appeal link.