Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Github 2FA personal access token doesn't work

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 Sep 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?

Hi, thanks for the reply. OAuth works.

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
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,154 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you