Cannot authenticate with github on Sourcetree 2.0.20.1 Edited

Following the security advisory (https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2017-05-10-900820365.html) I started using Sourcetere 2.0.20.1. I am using 2FA on github so I generated a new personal access token with "repo" access to use with the new version of sourcetree.

When I enter the token in the github login popup while pulling the output is:

 

Logon failed, use ctrl+c to cancel basic credential prompt.

remote: Invalid username or password.

 

I have double-checked that the token does not contain any whitespace at either end and that my github username is correct. What other troubleshooting steps can I take?

1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 01, 2018 in Summit

Summit 2019 is going to Las Vegas

You asked we answered - Summit 2019 registration is now open! Can you believe Atlassian Summit hasn’t been to the US since 2017? Now is the time to get ready for an event to remember! Our biggest u...

286 views 6 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you