claude-code - 💡(How to fix) Fix Interactive mode: Cannot paste auth code in /login prompt [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48420Fetched 2026-04-16 07:00:39
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1

Fix Action

Fix / Workaround

Workaround: Use claude auth login command separately before starting interactive mode.

RAW_BUFFERClick to expand / collapse

In interactive mode (TUI), the /login prompt does not accept clipboard paste for the authentication code.

Version: 2.1.107

Issue: When authenticating via /login in interactive mode, paste (Cmd+V/Ctrl+V) is not supported. Users must type the auth code character by character.

Workaround: Use claude auth login command separately before starting interactive mode.

extent analysis

TL;DR

The issue can be worked around by using the claude auth login command before starting interactive mode.

Guidance

  • The lack of clipboard paste support in the /login prompt is likely due to a limitation in the current implementation of the interactive mode.
  • To verify the issue, try pasting an authentication code into the /login prompt using Cmd+V or Ctrl+V and observe that it does not work as expected.
  • As a workaround, use the claude auth login command separately before starting interactive mode to authenticate without having to type the auth code character by character.
  • Consider upgrading to a future version if this issue is addressed, but for now, the provided workaround is the best solution.

Notes

The provided workaround is specific to version 2.1.107, and it is unclear if this issue affects other versions.

Recommendation

Apply workaround: Using the claude auth login command before starting interactive mode is a reliable way to authenticate without the need for manual character entry, given the current version's limitations.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING