Forums

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

Google email SourceTreeapp can't authenticate

A_J_ Bruner _ColoringTherapy
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!
August 15, 2026

Since Atlassian allows people to use their Gmail account to log in, Sourcetreeapp is unable to authenticate under OAuth, Basic, or API Token, because the Gmail password does not work, so there is no way to link your Bitbucket account to Sourcetreeapp. I can't change my email without losing my whole account:

 

"Connected account

Your account is connected to a Google account. Changing the email address here will disconnect your account from the Google account."
So how do people use Sourcetreeapp if they can't use their Gmail password to Authenticate their Bitbucket account? Also can't change the password, because again, Gmail passwords are not "linked" to the Atlassian account. Tried using an API token instead and:

hostingaccounterror.png

I figured I would just delete my account since I have done basically nothing with it except write a Readme on a new Repo, but nope can't delete it either.

hostingaccounterror_2.png
Excuse me? This was a FREE account. This is NOT a transaction account, and I have not done a single thing, not even uploaded a file yet.
I'm really about to take my "business" elsewhere when I can't even set up a simple repo without all kinds of problems.

2 answers

0 votes
Tomislav Tobijas
Community Champion
August 17, 2026

Hey @A_J_ Bruner _ColoringTherapy ,

Regarding deleting the account... this can be a little unintuitive, especially because even a Free site can still leave you with billing administration responsibilities. 👀

If Atlassian is preventing you from deleting your account because you are the billing admin / primary billing or technical contact, you basically have two options:

Option 1: Transfer the billing responsibility

If you want to keep the site or organization, add another billing admin first:

  1. Go to admin.atlassian.com/billing and open Billing permissions.

  2. Select Add new admin and add the person who should take over.

  3. Once they have access, have them remove your billing admin access. With the older billing experience, the equivalent is transferring the primary billing/technical contact.

  4. You should then be able to proceed with deleting your Atlassian account.

More details: Deleting your Atlassian Account when you are the Billing or Technical Contact and Understand billing administration.

Option 2: Remove the site/subscriptions

If this is an accidentally created Free site or you no longer need it, you can instead cancel/remove the relevant site subscriptions and then retry deleting your Atlassian account.

If you also want to delete the organization itself, Atlassian requires all associated apps/sites to be removed first, and a data-retention period may apply before the organization can be deleted. See Delete your organization.

If self-service still leaves you stuck, Atlassian Support: Pricing, Billing & Licensing can help with account deletion and billing/contact ownership issues.

Cheers,
Tobi

0 votes
Casey Hunt
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!
August 15, 2026

It looks like the main issue is that your Google/Atlassian account password isn't supposed to be used as the Bitbucket credential for Sourcetree. Your Gmail password and your Bitbucket authentication token are separate.

Since you're using Sourcetree, I'd try this route:

  1. Make sure Sourcetree is updated to a recent version that supports Bitbucket API tokens.

  2. In Bitbucket, create a new API token with the repository permissions you need.

  3. In Sourcetree, go to Tools → Options → Authentication on Windows.

  4. Add/edit the Bitbucket account and select API Token as the authentication type.

  5. Use the Atlassian email associated with the Bitbucket account and paste the API token as the token.

  6. If Sourcetree still keeps trying the old credentials, remove the saved Bitbucket credentials from Sourcetree/Windows Credential Manager and try again.

You shouldn't need to change your Gmail address or delete your Bitbucket account just to use Sourcetree.

Also, don't post the API token or any screenshots containing it publicly. Atlassian's current documentation specifically recommends API tokens for this type of authentication.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events