[FEATURE] Login flow blocks all tool use and requires terminal copy-paste (UX issue)

Open 💬 0 comments Opened Jul 8, 2026 by PepiteBrest

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

When the session expires mid-conversation, Claude Code blocks all tool use
and displays a login prompt requiring the user to copy a URL from the terminal.

This creates two problems:

  1. All ongoing work is interrupted with no graceful resume
  2. In many terminal environments (web interfaces, IDEs, remote SSH), copying

a multi-line URL or auth code from the terminal output is difficult or
impossible

Suggestion: provide an alternative login path that doesn't require
terminal copy-paste — for example:

  • a short numeric code the user types manually
  • a persistent API key option that bypasses interactive login
  • an in-app browser flow that doesn't require copying from the terminal

The rest of Claude Code works well. This specific flow is the main friction point.

Proposed Solution

When login fails, create a local file whiche is easy to copy

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Interactive mode (TUI)

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗