threads / discuss / 35763

Feature Request Google Authenticator Support

Subject: Feature Request Google Authenticator Support

## tl;dr

5 messages between Jan 30, 2014 and Jan 30, 2014.

replies: 4people: 5as markdown or json

Max Rahm· Jan 30, 2014, 04:07 UTC · lore

Github supports google authenticator 2-step authentication. I enabled it and how can't figure out how to connect to my github account through git. I've looked pretty hard in the man pages and on google and can't seem to find anything on how to set up git to work with a repository with 2-step verification. Here's a link to my stackoverflow question with my exact problem if there's something I'm missing.

http://stackoverflow.com/questions/21447137/git-github-not-working-with-google-authenticator-osx

As far as I can tell the feature is not supported. I'd like to be able to use the 2-step authentication but obviously I'd like to be able to push my code :D

Thanks in advance, Max Rahm

-- :wq

Andrew Ardill· Jan 30, 2014, 04:18 UTC · re: Max Rahm · lore

Re: Feature Request Google Authenticator Support

On 30 January 2014 15:07, Max Rahm <ac90b671@gmail.com> wrote:
Show 12 quoted lines
> Github supports google authenticator 2-step authentication. I enabled it
> and how can't figure out how to connect to my github account through git.
> I've looked pretty hard in the man pages and on google and can't seem to
> find anything on how to set up git to work with a repository with 2-step
> verification. Here's a link to my stackoverflow question with my exact
> problem if there's something I'm missing.
>
> http://stackoverflow.com/questions/21447137/git-github-not-working-with-google-authenticator-osx
>
> As far as I can tell the feature is not supported. I'd like to be able to
> use the 2-step authentication but obviously I'd like to be able to push my
> code :D

I was under the impression that private key authentication worked regardless of two-factor authentication. Is using git over ssh an option for you?

Regards,
Andrew Ardill
Erik Faye-Lund· Jan 30, 2014, 14:28 UTC · re: Max Rahm · lore

Re: Feature Request Google Authenticator Support

On Thu, Jan 30, 2014 at 5:07 AM, Max Rahm <ac90b671@gmail.com> wrote:
Show 12 quoted lines
> Github supports google authenticator 2-step authentication. I enabled it
> and how can't figure out how to connect to my github account through git.
> I've looked pretty hard in the man pages and on google and can't seem to
> find anything on how to set up git to work with a repository with 2-step
> verification. Here's a link to my stackoverflow question with my exact
> problem if there's something I'm missing.
>
> http://stackoverflow.com/questions/21447137/git-github-not-working-with-google-authenticator-osx
>
> As far as I can tell the feature is not supported. I'd like to be able to
> use the 2-step authentication but obviously I'd like to be able to push my
> code :D

This sounds like a question for the GitHub support rather than the Git community.

Jakub Narębski· Jan 30, 2014, 17:22 UTC · re: Erik Faye-Lund · lore

Re: Feature Request Google Authenticator Support

On Thu, 2014-01-30, Erik Faye-Lund wrote:
Show 16 quoted lines
> On Thu, Jan 30, 2014 at 5:07 AM, Max Rahm <ac90b671@gmail.com> wrote:
>> Github supports google authenticator 2-step authentication. I enabled it
>> and how can't figure out how to connect to my github account through git.
>> I've looked pretty hard in the man pages and on google and can't seem to
>> find anything on how to set up git to work with a repository with 2-step
>> verification. Here's a link to my stackoverflow question with my exact
>> problem if there's something I'm missing.
>>
>> http://stackoverflow.com/questions/21447137/git-github-not-working-with-google-authenticator-osx
>>
>> As far as I can tell the feature is not supported. I'd like to be able to
>> use the 2-step authentication but obviously I'd like to be able to push my
>> code :D
>
> This sounds like a question for the GitHub support rather than the Git
> community.

Especially that Git prides itself that it does not do authenthication, but passes it to appropriate programs, SSH or web server (HTTP).

Own git:// protocol is unathenthicated.
-- 
Jakub Narębski
Scott Chacon· Jan 30, 2014, 17:38 UTC · re: Erik Faye-Lund · lore

Re: Feature Request Google Authenticator Support

Hey,
On Thu, Jan 30, 2014 at 6:28 AM, Erik Faye-Lund <kusmabite@gmail.com> wrote:
Show 16 quoted lines
> On Thu, Jan 30, 2014 at 5:07 AM, Max Rahm <ac90b671@gmail.com> wrote:
>> Github supports google authenticator 2-step authentication. I enabled it
>> and how can't figure out how to connect to my github account through git.
>> I've looked pretty hard in the man pages and on google and can't seem to
>> find anything on how to set up git to work with a repository with 2-step
>> verification. Here's a link to my stackoverflow question with my exact
>> problem if there's something I'm missing.
>>
>> http://stackoverflow.com/questions/21447137/git-github-not-working-with-google-authenticator-osx
>>
>> As far as I can tell the feature is not supported. I'd like to be able to
>> use the 2-step authentication but obviously I'd like to be able to push my
>> code :D
>
> This sounds like a question for the GitHub support rather than the Git
> community.

Erik is right, for any GitHub questions, emailing support@github.com is way better than using this list. The answer to your question, however, is that you have to use a personal access token:

https://help.github.com/articles/providing-your-2fa-security-code#through-the-command-line

You can generate one from this page, in the "Personal Access Tokens" section: https://github.com/settings/applications

Thanks!

← back to recent threads