Skip to content

Authenticating without a browser #1562

Closed

Description

@prinewgirl-zz

I didn't find a way to authenticate myself without using a browser. If there is another way to do this (I read all the documentation and I didn't find anything) it would be better.

I think that a good way this can be done is passing as a command line argument, both user and password tokens.

Activity

  1. added
    enhancement
    on Aug 21, 2020
  2. mislav commented on Aug 21, 2020

    @mislav
    Contributor

    Hi, sorry for the bad experience!

    The next release of GitHub CLI will feature a gh auth login command where you can paste an authentication token as an alternative to browser authentication: #1445

    In the meantime, you can set the GITHUB_TOKEN environment variable with your authentication token to skip browser authentication.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions