Skip to content

Clearer instructions for authenticating with an auth token #11829

Open

Description

@Andrew-S-Rosen

When running gh auth login and authenticating via SSH with the GitHub CLI, the CLI states

? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://github.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'admin:public_key'.

However, the minimum required scopes are only visible for the "classic" token. The new default token does not show these scopes. It may be beneficial to update the message to better reflect how to set the modern token.

Activity

  1. added
    needs-triage
    on Sep 29, 2025
  2. added
    enhancement
    on Oct 6, 2025
  3. github-actions commented on Oct 6, 2025

    @github-actions
    Contributor

    Thank you for your issue! We have categorized it as a feature request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.

    Unless you see the help wanted Contributions welcome label, we are not currently looking for external contributions for this feature.

    If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.

  4. added
    auth
    gh-auth
    on Oct 6, 2025
  5. removed
    needs-triage
    on Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authenhancementgh-auth

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions