Can't login atlassian account at sourcetree

Iván Rubí Lozano August 5, 2020

Hi,

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

3 votes
Answer accepted
Jodie Garner August 5, 2020

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. 

Iván Rubí Lozano August 5, 2020

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.

 

https://community.atlassian.com/t5/Sourcetree-questions/Authenticate-SourceTree-with-Google-Credentials/qaq-p/1050390

 

Now it's solved!

Like Jodie Garner likes this
Jodie Garner August 6, 2020

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

pfleu March 10, 2022

thank you ! working fine!

Min Choi December 14, 2022

Thank you so much! I even thought of wiping out everything and reinstalling SourceTree! This solution saved so much time and effort!

1 vote
noamgr April 13, 2022

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!

https://bitbucket.org/account/settings/app-passwords/

zhakataka June 2, 2023

Same here, looks really unusable. I've got a sourcetree on my mac. when I try to add my bitbucket repository (which I can successfully access via chrome) using bitbucket url, it asks for a password. But I've created it via my google account. It definitely shouldn't be my google password as it would be kinda security issue. There must be some access token.

Expected behavior is at least some url for instructions of how to import access token instead of

fatal: Authentication failed for 'https://bitbucket.org/projectname/repname.git/'

remote: Invalid credentials

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events