The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't add bitbucket.org authentication

Michael Harris
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2023

When I select Bitbucket.org as a Hosting Account and select "refresh oauth token", it goes to a local host address...http://localhost:34106/?code=RrGFpyKF7nEbXebW8H&state=authenticated

and it contains the wrong username

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Martin Runge
Community Champion
August 29, 2026

Hi @Michael Harris

Welcome to the Atlassian community!

I would check which account your default browser is signed into on bitbucket.org, since Sourcetree reuses that browser session for the OAuth flow, and then remove the account under Tools > Options > Authentication and add it again after signing out of the wrong account in the browser.

Cheers, Martin

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events