'Support for password authentication was removed on August 13, 2021

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 what is the git latest change. But I want to use tortoise git. Someone, please help me out this issue.



Solution 1:[1]

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.

Solution 2:[2]

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.

Solution 3:[3]

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.

Solution 4:[4]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Sathiamoorthy
Solution 3
Solution 4 Sathiamoorthy