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
The output of the command is this (it is the same as running it with sudo):
Fetch gh_username/repo
Error fetching data from github GET https://api.github.com/repos/gh_username/repo/issues?page=1&state=open: 401 - Must specify two-factor authentication OTP code. // See: https://developer.github.com/v3/auth#working-with-two-factor-authentication
This is either a bug, or an undocumented behavior. If I disable the two-factor authentication on my GitHub account, everything works well.
The text was updated successfully, but these errors were encountered:
I'm just guessing here, but what if it tries to authenticate with your username and password (since you provided both) and just stops because it fails? I suspect it isn't even trying you access token.
I run this command in bash:
where is
personal_gh_access_token
created at this URL: https://github.com/settings/tokens. It is called "git: https://github.com/ on HOPE-PC at 23-oct.-2016 13:35" and it was regenerated by me today with all the available permissions enabled.The output of the command is this (it is the same as running it with
sudo
):This is either a bug, or an undocumented behavior. If I disable the two-factor authentication on my GitHub account, everything works well.
The text was updated successfully, but these errors were encountered: