SourceTreeForMac keeps asking me for github authentication

Just downloaded the version 2.4.1 and It fails every time to authenticate to the github server. All the info is correct, I'm using two-factor-authentication and both SSH and HTTPS protocol fail. Is it a bug?

Steps taken:

Top bar>SourceTree>Preferences>Accounts>Add...

Host:GitHub

Auth type: OAuth

Login through Connect Account (Successfully)

Protocol: HTTPS

OK.

For the first try I get "The request timed out."

For subsequent tries I get "Could not authorize request with the available token. Please re-authenticate."

5 answers

1 accepted

I'm sorry but your work around just does not work. The token has received all permissions. In Visual Studio, the token also works.

 

SourceTree Version 2.4.8 for Windows 10 64 Bit

Could you extend your answer to show exactly the steps you follow, maybe with screenshots?

Sorry for the delay @David Benson [draw.io], here it is

Damn, I couldn't find that anywhere, it worked. The documentation is misleading though. It says "For versions earlier than SourceTree 2.4 for Mac and SourceTree 1.10 for Windows." but my version is 2.4.1 and I needed this workaround. Make it an answer please

Did u try with basic instead of OAuth and did you find a pop up window asking for authentication?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

570 views 1 2
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