Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events