Support for password authentication was removed on August 13, 2021

82.9k Views Asked by At

Over a long period of time I am using tortoise git, today I am not able to use the tortoise git and getting the below error.

git.exe pull --progress -v --no-rebase "origin" remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

I am using the latest tortoise git version. enter image description here

I understand about the git latest change. But I want to use tortoise git. Someone, please help me out this issue.

6

There are 6 best solutions below

0
On BEST ANSWER

Use the following steps for avoid this issue.

At https://github.com/settings/tokens, go and generate a token.

While git clone, push, pull use the below credentials.

username: user_github_username

password: add_generated_token instead of the password.

4
On

Github Has Revoked the support for password authentication on 13 Aug 2021 and giving the below mentioned response:

Support for password authentication was removed on August 13, 2021

In order to fix the issue follow the below steps:

  1. Goto settings of Github account
  2. Find and Select Developer Settings
  3. Find and Select Personal access tokens
  4. Generate a new token
  5. Fill in any note and select the access scopes
  6. once done click on generate token

Use the generated token in place of a password to communicate with GitHub.

3
On

Actually, the git wants to store the token in the local machine instead of a password.

So you can fix this issue on MAC

  1. Click on the profile picture

  2. Goto the settings

  3. then click "Personal access token and generate new token" as shown in the picture enter image description here

  4. then write then token name + select expiration date and select the permissions that you want to give and then click on "Generate token present at the bottom of the screen" enter image description here

  5. open the keychain access and search the github and double tap the github account enter image description here

  6. final step is to paste the github token in the password field. That's all you have to do. enter image description here

0
On

Follow the below steps to solve the issue.

  1. Update your git version using git update-git-for-windows

  2. In the windows start button, search Credential Manager and open.

  3. Click the Windows Credential, search and delete the GitHub credential.

  4. Now using tortoise git, pull the code. You will get the below popup.

enter image description here

  1. Click Sign in with your browser in the popup and now you can use tortoise git as like earlier.
0
On

Just follow the simple three steps to push your repository in git...

before that you may run below command first

git init git status git add . git branch -M main

  1. git remote set-url origin [email protected]:<username>/<repository_name>.git
  2. git commit -am "your comments"
  3. git push --set-upstream origin main
0
On

Just using the token instead of password did not work for me. Here's all the steps I did:

  1. Generate token in developer settings
  2. Use the new token in all the places (Key Chain, Inside Intellij, In the terminal). Make sure you save the token somewhere because you cannot see it again, unless you regenerate it.
  3. My organization had enabled SAML SSO. I went into the token and configured SSO and authenticated my organization. Steps for SAML SSO can be found here

After following all the above 3 steps, I was able to successfully access git without password.