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

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

Sourctree In Endless Authentication Loop When Connecting To BitBucket

I have the latest version for Sourcetree (  Every time I try to push to a repository, Soucetree continually pops up the "Bitbucket Login" form.  When I enter the username/password, the system eventually throws the following error:

remote: Invalid username or password
fatal: Authentication failed for ''

The username/password is most assuredly correct.  I am not sure why Sourcetree/Bitbucket is having trouble with the connection.


1 answer

I've encountered this too, and I thought I had it beat in the past by refreshing my OAuth token.  

But I was recently trying to set up coworker, the same procedure does not work.  

On an Azure VM, authenticating against a Microsoft account.  The refresh is successful, but sourcetree and command line still fail.  

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,733 views 4 12
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