Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,557,443
Community Members
 
Community Events
184
Community Groups

Authentication failed

Edited

Hello,

 

When I try to do a commit from SourceTree I get a failed authentication message. I do not understand why because I have done this many times in the past and I never had any problem, and I do not think that I changed anything from my last commit, which was some months ago.

I attach the print screen of the error message that I get.

 

Thanks for your help.

 

Regards,

sourcetree_error.png

3 answers

Hello,

My problem is still unsolved. The authentication seems to work when creating the account profile, but then I receive an authentication failure message when I try to push my code. Could I get some more interactive help from someone, via a call or something similar?

Thank you.

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 17, 2019

Hello! Looks like your credentials might be out-of-date. You can solve this by doing the following:

  • First, make sure you're using the latest version of git and Sourcetree
  • Open Tools > Options and navigate to "Authentication"
  • Find the account associated with that repo (SolarJonathan) under "Accounts" and under "Git Saved Password"
  • Remove all accounts with that username
  • Then re-add the account by selecting "Add"
  • When re-adding the account, make sure "OAuth" is the option selected under "Credentials > Authentication"
  • Hit "Refresh OAuth Token" and login when your browser asks you to
  • Try and perform the action again

Hello Mike,

 

Thank you for your answer and clear instructions.

 

I was able to replicate all the steps that you mentioned, but in the end, I still get the same authentication error message.

 

Any other clues on what might happen?

Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 18, 2019

Not sure why your credentials are not working. As a fall-back you can switch to using SSH using the following directions: https://confluence.atlassian.com/sourcetreekb/generate-and-load-ssh-keys-into-sourcetree-with-putty-790629663.html

 

Make sure you add the public key into Bitbucket, and make sure you change the remote URL for your repository:

  • Open the repo
  • Click the big "Settings" button in the toolbar
  • Double click on the "origin" URL
  • Change the URL / Path to 'git@bitbucket.org:SolarJonathan/solar_simulation.git'
  • Click "OK", then try again (you might get a prompt from PuTTy to load your SSH key)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events