You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
¥ gh-1.6.1 auth login
? What account do you want to log into? GitHub Enterprise Server
? GHE hostname: git.build.example.com
? What is your preferred protocol for Git operations? HTTPS
? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://git.build.example.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'workflow'.
? Paste your authentication token: ****************************************
error validating token: HTTP 401: Must authenticate to access this API. (https://git.build.example.com/api/v3/)
hint: try authenticating with `gh auth login`
Notes:
I can't see the workflow scope in GHE < 3
With 1.6.0 the process was slightly different than with 1.6.1, i.e. it asked if I wanted to authenticate
Describe the bug
gh auth login fails with an auth required error when trying to add a new auth to a GHE instance of version < 3.0.0
Steps to reproduce the behavior
Expected vs actual behavior
gh auth should just work without errors, or at least have a compatibility table on the README
Logs
If you really need this, i'll reproduce again, I had cleared the terminal
The text was updated successfully, but these errors were encountered: