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

SourceTree - Authentication Failed


I am getting a error while changing the Username and password on SourceTree. When I am trying to change the username for BitBucket on Sourcetree then I got the error like

"Failed to login for user [Username] You do not have permission to access URL "". The request returned with status code 'Unauthorized'".

Please have a look to this issue so that I can login to my Local and will start work on this



Himanshi Gautam 

1 comment

Similar problem. I had to change "OAuth" for "Basic" for this to work.


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

60,421 views 127 26
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