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

GitHub authentication no longer working

nwbowensby October 6, 2021

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

0 votes
Barnabás Nagy
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!
October 14, 2021

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 '[…].git/'
Pushing to[…].git

Completed with errors, see above.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events