Skip to content

When non-interactive, the auth and refresh flows still require interaction #3996

@nicknotfun

Description

@nicknotfun

Describe the bug

When non-interactive mode, the auth and refresh flows still require interaction. Specifically they require pressing enter to interact with the browser, as well as to finish the flow.

gh --version: 1.12.1

Steps to reproduce the behavior

  1. gh config set prompt disabled
  2. gh auth login -w
  3. See "- Press Enter to open github.com in your browser... "

Expected vs actual behavior

Instead it should give the URL to open as immediate output and block on validation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority-3Affects a small number of users or is largely cosmetic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions