Login finishes successfully but doesn't get valid token
aocole opened this issue · 1 comments
aocole commented
Going through the git hub setup flow does not result in a usable auth token. I have 2FA turned on. After entering my password, the setup completes without prompting me for my 2FA token.
After setup, my ~/.git-hub/config file looks like this:
[git-hub]
login = aocole
api-token = {\"scopes\":[\"user\",\"repo\",\"gist\"],\"note\":\"API
use-auth = true
json-lib = json-perl.bash
spazm commented
2FA workflow is deprecated along with the password flow, getting turned off in Nov 2020
https://developer.github.com/v3/auth/#working-with-two-factor-authentication