I have 2-step authentication enabled. How to login to SourceTree app on Mac?

I have also tried to create a team on Bitbucket for getting the API keys, hoping if could login via team in SourceTree. Following this post: https://confluence.atlassian.com/display/SOURCETREEKB/Two-Factor+Authentication+(2FA)+with+GitHub+in+SourceTree

 

But then I didn't found an option to generate API keys in my team portal. Please help, me mainly Bitbucket for my personnel work

1 answer

1 accepted

This widget could not be displayed.
Jeff Thomas Atlassian Team Feb 03, 2016

You're running into one of the known limitations of 2FA and SourceTree at the moment. Currently, SourceTree will use SSH to do most everything with Bitbucket except build a list of repositories. There is an open feature request here to allow application specific passwords, this would allow SourceTree to use that set of credentials and get the list of repositories. Until then, you'll need to manually add the repositories into SourceTree as it's not possible to authenticate with SourceTree to Bitbucket once 2FA is turned on.

This is explained in a bit more detail on the Two-step verification documentation.

Suggest an answer

Log in or Sign up to answer
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...

879 views 2 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