Github 2FA personal access token doesn't work

Pee Cha September 12, 2018

Hey i have 2FA enabled on my github account and i can't get it to work under windows Sourcetree 2.6.10.

I have followed this guide two-factor-authentication-2fa-with-github-in-sourcetree but to no avail.

I am getting Authentication failed: Failed to check login for user [my_username] user/emails was not found.

Authentication is set to Basic and protocol is HTTPS.

1 answer

1 accepted

0 votes
Answer accepted
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2018

Hello! You won't be able to use basic auth with 2FA -- you'll need to use the OAuth option. Could you try that and let me know if it works?

Pee Cha September 14, 2018

Hi, thanks for the reply. OAuth works.

Chris Boudreaux
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 17, 2020

Which information goes into which fields in SourceTree to make SourceTree v4.0.2 (236) work with Github 2FA?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events