Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to connect SourceTree to Bitbucket via single sign-on?


I am having immense trouble executing any pull/push through the Sourcetree interface. My company has a single sign-on that looks to execute correctly when I go to Tools > Options > Authentication. When there, I have it set up as HTTPS and the OAuth says "Authentication OK". I then try to to clone a repository via Bitbucket, choose HTTPS, and then Clone in Sourcetree. Sourcetree then says "This is not a valid source path / URL", which it is definitely a valid source path and matches everything in Bitbucket. I have even connected to a local repository and then try pulling and I get " Because your Atlassian account admin requires single sign-on, you'll need to authenticate with an app password." Any help would be greatly appreciated as I've essentially exhuasted every resource to help resolve this issue.

1 answer


Are you using Bitbucket Server or Cloud Version?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,638 views 127 27
Read article

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