+
Skip to content

Clearer instructions for authenticating with an auth token #11829

@Andrew-S-Rosen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    authrelated to tokens, authentication state, or oauthenhancementa request to improve CLIfeedbackgh-authrelating to the gh auth commandneeds-triageneeds to be reviewed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载