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
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.