'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.
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:
- Goto settings of Github account
- Find and Select Developer Settings
- Find and Select Personal access tokens
- Generate a new token
- Fill in any note and select the access scopes
- 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.
Update your git version using
git update-git-for-windows
In the windows start button, search Credential Manager and open.
Click the Windows Credential, search and delete the GitHub credential.
Now using tortoise git, pull the code. You will get the below popup.
- 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
Click on the profile picture
Goto the settings
then click "Personal access token and generate new token" as shown in the picture
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"
open the keychain access and search the github and double tap the github account
final step is to paste the github token in the password field. That's all you have to do.
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 |