Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login finishes successfully but doesn't get valid token #238

Open
aocole opened this issue Dec 14, 2016 · 1 comment
Open

Login finishes successfully but doesn't get valid token #238

aocole opened this issue Dec 14, 2016 · 1 comment

Comments

@aocole
Copy link

aocole commented Dec 14, 2016

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
Copy link

spazm commented Jun 15, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants