[BUG] OAuth url is padded making it difficult to copy

Resolved 💬 2 comments Opened Apr 6, 2026 by witchof0x20 Closed Apr 6, 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?

When I log in, and choose a claude subscription, I'm given an oauth link. The oauth link is long, and split across multiple lines. This is normally fine. However, in the most recent version, there is padding on the left side.

This results in spaces being injected into the link when selecting it to copy into a browser (e.g. when using claude on a remote server).

What Should Happen?

Oauth link should be continuous across lines to maintain copiability.

Error Messages/Logs

Steps to Reproduce

use a machine without a web browser setup (e.g. a remote server)
/login
choose "Claude Account with Subscription"

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.92

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

<img width="142" height="116" alt="Image" src="https://github.com/user-attachments/assets/3a77035b-22f1-4c7c-b768-3f9b7e1ada45" />

View original on GitHub ↗

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