Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Cannot authenticate to Github through Sourcetree desktop Edited

I am using the latest version of Sourcetree desktop (version 2.4.8.0), and it keeps asking me for GitHub authentication. No matter what I enter there (username, email, password, github generated token), it keeps popping again. Note that I am able to authenticate to my Github account successfully through web, so that's not a spelling issue. I have also contacted the Hithub support already, they have advised to upgrade to the latest version of Sourcetree and then contact you if it doesn't help.

Do you have any ideas what's causing this and how it can be fixedCapture.PNG

1 answer

0 votes
Mike Corsaro Atlassian Team Feb 23, 2018

Hello! Could you try the following:

  • Remove the account via the options screen
  • Try pulling again
  • Insert your username + password

If that doesn't work, try adding the GitHub account with OAuth:

  • Options > Accounts
  • Add a new account, but set "Authentication" to "OAuth"
  • Login, switch back to Sourcetree
  • Try pulling again

The problem is that SourceTree's embedded Git client comes with git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site.  You need to get git-credential-manager v1.14.  Easiest way to do that is to install a current copy of the Git client separately, and then switch SourceTree over to use that ("system git") instead of its embedded client.  Alternatively, you can update git-credential-manager in your embedded client by replacing its files with the newest version from Microsoft.

I'm kind of stunned that Atlassian doesn't seem to be acutely aware of this issue.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,280 views 19 18
Join discussion

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