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

Can't login atlassian account at sourcetree


I have been working with sourcetree since 1 year ago. Now, when I try to push a branch, pop ups a bitbucket login and my credentials are not working.

I'm using the same credentials for bitbucket web.

Can you help please? I have to deploy to production environment at work and I'm not able to do it.


Thank you so much!

2 answers

1 accepted

2 votes
Answer accepted

I don't know if this is similar to the problem you're having, but my account had an "x"  on it in the bitbucket program (I could log on fine). What I ended up doing was right clicking for account details and hitting "Refresh OAuth Token", which lead to a webpage saying "SourceTree has been successfully authenticated". After that it reloaded and I was able to clone and pull fine from a remote source. 

Thank you for your answer. You were partially right. I had to refresh OAuth token but at sourcetree not at bitbucket.

I followed this post.


Now it's solved!

Like Jodie Garner likes this

Awesome! My bad, I think I meant sourcetree as well, not bitbucket. I was on the program, not web. 

thank you ! working fine!

I had to revoke at app password and create it once again. 

Then, I used that same password to login to Atlassian.

It took me hours for that stupid thing, so annoying!

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,920 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