| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:943d1f11-5320-ecd6-b3a6-e45a068833d2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9F20:7A60E:18CD75F:1FD51A8:6B0138E4 |
| html-safe-nonce | 260b9f47a85b4a9c58066ff029541c49b24357c73291168a02624bdb95874f7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjIwOjdBNjBFOjE4Q0Q3NUY6MUZENTFBODo2QjAxMzhFNCIsInZpc2l0b3JfaWQiOiI2ODQ2Mjg3NjI1MjEzNTI0MTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e0bf49830212a029d16b6955b93d00c619e7f45b42de2f38a2f96c06c088c0c2 |
| hovercard-subject-tag | pull_request:4853228991 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cli/cli/14679/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/cd17c20bd2bf1f11a8d5301d0c542bfae9ac1f922923d2c0d94acf4cdb6c1300/cli/cli/pull/14679 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd17c20bd2bf1f11a8d5301d0c542bfae9ac1f922923d2c0d94acf4cdb6c1300/cli/cli/pull/14679 |
| og:image:alt | Fixes #9789
Description
gh auth login --with-token reads a token from standard input until the input ends. A file or a pipe ends on its own, but a terminal does not. The login command never checke... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BagToad |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/cli/cli git https://github.com/cli/cli.git |
| octolytics-dimension-user_id | 59704711 |
| octolytics-dimension-user_login | cli |
| octolytics-dimension-repository_id | 212613049 |
| octolytics-dimension-repository_nwo | cli/cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 212613049 |
| octolytics-dimension-repository_network_root_nwo | cli/cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/cli/cli/pull/14679#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F14679 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F14679 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cli%2Fcli |
| Reload | https://github.com/cli/cli/pull/14679 |
| Reload | https://github.com/cli/cli/pull/14679 |
| Reload | https://github.com/cli/cli/pull/14679 |
| cli | https://github.com/cli |
| cli | https://github.com/cli/cli |
| Code | https://github.com/cli/cli |
| Issues1.1k (1.1k) | https://github.com/cli/cli/issues |
| Pull requests59 (59) | https://github.com/cli/cli/pulls |
| Discussions | https://github.com/cli/cli/discussions |
| Actions | https://github.com/cli/cli/actions |
| Projects | https://github.com/cli/cli/projects |
| Security and quality17 (17) | https://github.com/cli/cli/security |
| Insights | https://github.com/cli/cli/insights |
| https://github.com/cli/cli |
| BagToad | https://github.com/BagToad |
| trunk | https://github.com/cli/cli/tree/trunk |
| bagtoad/auth-login-with-token-tty-error | https://github.com/cli/cli/tree/bagtoad/auth-login-with-token-tty-error |
| Conversation | https://github.com/cli/cli/pull/14679 |
| Commits1 (1) | https://github.com/cli/cli/pull/14679/commits |
| Checks | https://github.com/cli/cli/pull/14679/checks |
| Files changed | https://github.com/cli/cli/pull/14679/files |
| Reject terminal stdin for gh auth login --with-token | https://github.com/cli/cli/pull/14679#top |
| BagToad | https://github.com/BagToad |
| trunk | https://github.com/cli/cli/tree/trunk |
| bagtoad/auth-login-with-token-tty-error | https://github.com/cli/cli/tree/bagtoad/auth-login-with-token-tty-error |
|
| https://github.com/BagToad |
| BagToad | https://github.com/BagToad |
| Oct 14, 2026 | https://github.com/cli/cli/pull/14679#issue-5842268897 |
| #9789 | https://github.com/cli/cli/issues/9789 |
| login command | https://github.com/cli/cli/blob/d6b82b12e67d108b7c82d76d943a3a47814acbc1/pkg/cmd/auth/login/login.go#L118-L124 |
| acceptance criteria | https://github.com/cli/cli/issues/9789#issuecomment-2426092653 |
| new check | https://github.com/cli/cli/blob/2de1e0886a0cf896165db70e7729b28bd5b0febc/pkg/cmd/auth/login/login.go#L118-L123 |
| d6b82b1 | https://github.com/cli/cli/commit/d6b82b12e67d108b7c82d76d943a3a47814acbc1 |
| 2de1e08 | https://github.com/cli/cli/commit/2de1e0886a0cf896165db70e7729b28bd5b0febc |
| https://private-user-images.githubusercontent.com/47394200/672994887-36b555b6-b4ac-46c3-8cb8-56fb574b7c89.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDI1MTIsIm5iZiI6MTc5NTI0MjIxMiwicGF0aCI6Ii80NzM5NDIwMC82NzI5OTQ4ODctMzZiNTU1YjYtYjRhYy00NmMzLThjYjgtNTZmYjU3NGI3Yzg5LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDA2MjMzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYxM2UxNzhhNjdmYTE3NmEyOTgzNGY0ZTU1OGM2ODEyYjA3YzM3MzU2NDlhYmEzMjA4ZmI1YWMwZDcwYzM3YjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmdpZiJ9.lStK13gcD3oMD1QLQjVfINMrE1cEzKVBbHm7WL4J5P0 |
| https://private-user-images.githubusercontent.com/47394200/672994898-12b69e03-637d-4bf0-a238-8f9cabbf6d44.gif?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDI1MTIsIm5iZiI6MTc5NTI0MjIxMiwicGF0aCI6Ii80NzM5NDIwMC82NzI5OTQ4OTgtMTJiNjllMDMtNjM3ZC00YmYwLWEyMzgtOGY5Y2FiYmY2ZDQ0LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDA2MjMzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0NGJiZjU1ZmRlYTVjZTRmM2U0MTIxZjZjYThjYTk1N2Y5NWU3ZWJiOWE5Yjc4ODY1NmQ5OTYwNjFhNWU1NDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRmdpZiJ9.HMXRFfZXHUKX3B6wy3dHpS7aZBB4dcL7jraIdZwV31k |
| issue thread | https://github.com/cli/cli/issues/9789#issuecomment-5993632414 |
| gh gist create | https://github.com/cli/cli/blob/d6b82b12e67d108b7c82d76d943a3a47814acbc1/pkg/cmd/gist/create/create.go#L84-L86 |
| new check | https://github.com/cli/cli/blob/2de1e0886a0cf896165db70e7729b28bd5b0febc/pkg/cmd/auth/login/login.go#L118-L123 |
| tty, with-token | https://github.com/cli/cli/blob/2de1e0886a0cf896165db70e7729b28bd5b0febc/pkg/cmd/auth/login/login_test.go#L66-L72 |
| tty, with-token, hostname | https://github.com/cli/cli/blob/2de1e0886a0cf896165db70e7729b28bd5b0febc/pkg/cmd/auth/login/login_test.go#L100-L106 |
| gh auth login --with-token: provide clear, non-echoing token input when stdin is a terminal #14597 | https://github.com/cli/cli/issues/14597 |
| gh auth login --with-token hangs #9789 | https://github.com/cli/cli/issues/9789 |
| @BagToad | https://github.com/BagToad |
| Please reload this page | https://github.com/cli/cli/pull/14679 |
|
| https://github.com/BagToad |
|
| https://github.com/apps/github-copilot-cli |
| Reject terminal stdin for auth login --with-token | https://github.com/cli/cli/pull/14679/commits/2de1e0886a0cf896165db70e7729b28bd5b0febc |
| 2de1e08 | https://github.com/cli/cli/pull/14679/commits/2de1e0886a0cf896165db70e7729b28bd5b0febc |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| October 14, 2026 05:05 | https://github.com/cli/cli/pull/14679#event-33195954970 |
| started reviewing | https://github.com/cli/cli/sessions/c0e55bd7-bbd8-4c8c-b9d3-d87f88844028 |
| BagToad | https://github.com/BagToad |
| October 14, 2026 05:05 | https://github.com/cli/cli/pull/14679#event-33195981995 |
|
View session
| https://github.com/cli/cli/sessions/c0e55bd7-bbd8-4c8c-b9d3-d87f88844028 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Oct 14, 2026
| https://github.com/cli/cli/pull/14679#pullrequestreview-5513319160 |
|
View reviewed changes
| https://github.com/cli/cli/pull/14679/files/2de1e0886a0cf896165db70e7729b28bd5b0febc |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/cli/cli/pull/14679#pullrequestreview-5513319160 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Add coverage for TTY stdin with piped stdout | https://github.com/cli/cli/pull/14679#discussion_r4266994277 |
| Learn more in the docs. | https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills |
| Please reload this page | https://github.com/cli/cli/pull/14679 |
| pkg/cmd/auth/login/login_test.go | https://github.com/cli/cli/pull/14679/files/2de1e0886a0cf896165db70e7729b28bd5b0febc#diff-43bcabac1a5562344a5cce782097c1d258239103566a8509fa84ba086beccf50 |
| https://github.com/twilwa |
| twilwa | https://github.com/twilwa |
|
Oct 14, 2026
| https://github.com/cli/cli/pull/14679#ref-pullrequest-5838426517 |
|
fix(bin): route away-mode GitHub merges through the review ledger and stop phantom required-check holds
twilwa/firstmate#36
| https://github.com/twilwa/firstmate/pull/36 |
| https://github.com/jh3779 |
| jh3779 | https://github.com/jh3779 |
|
Oct 21, 2026
| https://github.com/cli/cli/pull/14679#ref-pullrequest-5955680654 |
|
chore: merge-gate가 협업자가 쓴 리뷰·코멘트만 세도록 제한한다(공개 전환 대비, 이슈 #177)
jh3779/recall-casebook#182
| https://github.com/jh3779/recall-casebook/pull/182 |
| https://github.com/draarivpatel-ui |
| draarivpatel-ui | https://github.com/draarivpatel-ui |
|
Nov 10, 2026
| https://github.com/cli/cli/pull/14679#ref-pullrequest-6300185629 |
|
Reject terminal stdin for gh auth login --with-token
#15006
| https://github.com/cli/cli/pull/15006 |
| https://github.co/hiddenchars |
| https://github.com/cli/cli/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F14679 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/cli/cli/pull/14679/files/2de1e0886a0cf896165db70e7729b28bd5b0febc |
| Please reload this page | https://github.com/cli/cli/pull/14679 |
|
gh auth login --with-token hangs
| https://github.com/cli/cli/issues/9789 |
| Please reload this page | https://github.com/cli/cli/pull/14679 |
|
| https://github.com/BagToad |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |