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

2 factor authentication #253

Closed
hendrik77 opened this issue Jun 8, 2016 · 5 comments
Closed

2 factor authentication #253

hendrik77 opened this issue Jun 8, 2016 · 5 comments

Comments

@hendrik77
Copy link

Enable 2 factor authentication.

abapGit only works if 2 factor authentication is switched off.

@larshp
Copy link
Member

larshp commented Jun 8, 2016

there is a workaround, see
https://help.github.com/articles/providing-your-2fa-authentication-code/#when-youll-be-asked-for-a-personal-access-token-as-a-password

detailed guide: https://james.boelen.ca/general/2-factor-authentication-github-and-the-command-line/
or https://confluence.atlassian.com/sourcetreekb/two-factor-authentication-2fa-with-github-in-sourcetree-402033499.html or https://help.github.com/articles/creating-an-access-token-for-command-line-use/

the command line git command also doesnt work when connecting via HTTPS, abapGit also connects via https, so I'm not sure it can be fixed.

I also have 2 factor auth enabled, and would really like it to work with yubikey like the login on github, but that will also be difficult to get working

@larshp
Copy link
Member

larshp commented Jun 8, 2016

more info here: https://developer.github.com/v3/auth/#working-with-two-factor-authentication looks like it might be possible to implement in abapGit

cool stuff

or it might only work for the API

@hendrik77
Copy link
Author

If I only had the time I would jump in an provide the code... maybe.. but no promises

@larshp
Copy link
Member

larshp commented Nov 17, 2016

I do not think this is possible, if anyone finds information on how/if 2 factor auth works with command line git, please reopen the issue or create a new

@larshp
Copy link
Member

larshp commented Feb 5, 2017

2 factor auth added in #536, thanks @flaiker

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

No branches or pull requests

2 participants