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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

GitHub authentication no longer working

I am an avid Sourcetree user and have been using it for years.  A few months ago I set up a colleague on it who had never used it before.  Our repository is on GitHub and works fine for me and did for them at first.  They were on other projects and came back to it and now they cannot push to the repository anymore due to an authentication issue.  The message implies they are trying to use a password which is no longer supported on GitHub.  I tried to help them out and I removed their current authentication and re-did it as OAuth and Sourcetree says it authentications successfully when you add it.  When you go to push you get the same authentication issue though.  Does anyone have any other thoughts?  Is it possible there is another place the authentication is being stored for the base git calls that might be interfering?

1 answer

I have the same issue with bot GitHub and Bitbucket, actually. Changed my Atlassian password recently and I can't push changes now. I tried removing the account from Sourcetree and removing access on Bitbucket, completely redoing OAuth but it still won't work. I have the latest version of git and Sourcetree.

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
remote: Invalid username or password
fatal: Authentication failed for 'https://bitbucket.org/[…].git/'
Pushing to https://bitbucket.org/[…].git

Completed with errors, see above.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,693 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you