Skip to content

Replace "GitHub Enterprise Server" option with "other" in gh auth login prompting #9641

Closed

Description

@jtmcg

Description

Currently, when proceeding through an interactive gh auth login flow, the user is presented with two options:

➜  gh auth login
? What account do you want to log into?  [Use arrows to move, type to filter]
> GitHub.com
  GitHub Enterprise Server

However, the login flow offered by the "GitHub Enterprise Server" selection works for any hostname - not just GitHub Enterprise Server customers. We think it would be better to work with users by the domain names they know:

➜  gh auth login
? Where do you use GitHub? [Use arrows to move, type to filter]
  github.com
> other

? Hostname:

Acceptance Criteria

Given I am in an interactive terminal environment
When I run gh auth login
Then I am presented with:

➜  gh auth login
? Where do you use GitHub? [Use arrows to move, type to filter]
  github.com
> other

? Hostname:

This change should be reflected in our docs

Activity

  1. self-assigned this
    on Sep 19, 2024
  2. added
    needs-triage
    on Sep 19, 2024
  3. added
    enhancement
    gh-auth
    and removed
    needs-triage
    on Sep 19, 2024
  4. jtmcg commented on Sep 19, 2024

    @jtmcg
    ContributorAuthor

    I'm interested in feedback on the documentation I've added to better support this change 🙂

  5. added
    core
    on Sep 19, 2024
  6. isaacmbrown commented on Oct 7, 2024

    @isaacmbrown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreenhancementgh-auth

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions