How to register SourceTree on Mac OS X?


I've just started using SourceTree. I've been using it both on a PC and on a MacBook Pro. Now I want to register it in order to go on working with it. I created my Atlassian account and registered the Windows release of SourceTree without any problem. I cannot register the Mac OS X release of the software since it keep on saying "License Retrieval Failed: Bad credentials". I tried many times to re-enter all the information, but nothing changes. I tried also to type an incorrect password, in order to understand if that was the problem, but with an incorrect password also the error message changed, obviously telling me that the password was incorrect.

I've also found that if I try to login to Atlassian website using Safari, I'm given this message: "No CSRF token found in headers". If I try to login using Firefox, everything works fine.

Any hints?

Thank you for your support



1 answer

1 accepted

Hi Pietro!

As a workaround, could you download SourceTree's license under your My Atlassian account, and import in SourceTree following the below steps?

  1. Login to your My Atlassian account and expand the box for SourceTree's license;
  2. After downloading the file, go to SourceTree and navigate to SourceTree > Registration... on your Mac's menu bar;
  3. On the window that pops-up, click Import License... and navigate to the file you downloaded from My Atlassian;

Regarding the problem with Safari, could you clean the website data stored on it and then try logging in to the My Atlassian website? This problem is probably happening due to stuck cookies on the browser that are sending out the wrong token for authentication.




Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

252 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot