Hello Guys, How are you all? Hope You all Are Fine. Today when I am trying to pull my code I am facing the following Error remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead in Github. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
- How remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead Error Occurs ?
- How To Solve remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead Error ?
- Solution 1: Create new Personal Access Token
- Solution 2 : For macUsers
- Solution 3 : For Windows Users
- Solution 4: Easiest Way
- Solution 5: Follow this steps
- Summery
How remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead Error Occurs ?
I am trying to pull my code from Github It was working fine Yesterday But Today I am Facing the following error.
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. fatal: unable to access "..." : The requested URL returned error: 403
How To Solve remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead Error ?
How To Solve remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead Error?
To Solve remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead Error From August 13, 2021, Github is no longer accepting account passwords when authenticating Git operations. So here all you need to do is just create a new personal access token and use it instead of a Password. Here is How You can generate PAT
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead
1. First of all Open This URL
2. And log in with your credentials.
3. Click on the Setting menu.
4. Then, From the Setting menu click on Developer Settings
5. Now, From the Developer Settings, menu click on Personal access token
6. From the Personal access token click on the Generate new Token button.
7. Now fill up required details like Note, Expiration, Select scopes. And then click on below Generate Token button.
8. After that new token has been generated. Copy that generated token and use this token to access Git with username and token.
9. If you are using Windows then please follow the below steps.
10. Open Control Panel => User Accounts => Manage your credentials => Windows Credentials.
11. It will show all generic credentials. Find your GitHub URL and click on that. Now click on the edit button. And then add the personal access token generated from GitHub into the password field. And click on the Save button.
12. Now you can access Git.
Solution 1: Create new Personal Access Token
From August 13, 2021, Github is no longer accepting account passwords when authenticating Git operations. So here all you need to do is just create a new personal access token and use it instead of a Password. Here is How You can generate PAT
Step 1 First of all Open your GitHub account in your browser.
Step 2 Then In the upper-right corner of any page, click your profile photo, then click Settings.

Step 3 Now In the left sidebar, click Developer settings.

Step 4 In the left sidebar there are option of Personal access tokens. click Personal access tokens.

Step 5 Click on generate new Token

Step 6 Give name to your token and check mark permission you want give access.

Step 7 Click on Generate token.

Step 8 Click to copy the token to your clipboard. And Just Remember For security reasons, after you navigate off the page, you will not be able to see the token again. So Don’t Forgot to copy your new token.
Step 9 Update remote URL git remote set-url origin https://<tour_new_token>@github.com/<git_url>
Step 10 pull once: git pull https://<token>@<git_url>.git
Thats It. Now you can pull your code Or Push your code
Solution 2 : For macUsers
- Generate a new token and copy-paste it somewhere safely.
- Now search for an App in your Mac, named
Keychain Access
. - Search for
github.com
(if there are multiple github logins then chooseKind: Internet password
), double-click it. - Click on show password, then enter your mac’s password and hit enter.
- Password should be visible by now. Now, just paste the token you generated in step 2 and click
Save changes
.
Solution 3 : For Windows Users
- Generate a new token and copy-paste it somewhere safely.
- Search for App in your Windows OS, named
Credential Manager
> thenWindows Credentials
. - Search for
github.com
and Edit the password with thetoken
you have generated on Github. Now Enjoy! - Developer’s hack shortcode
git remote set-url origin https://<githubtoken>@github.com/<username>/<repositoryname>.git
While cloning:
git clone https://<username>:<githubtoken>@github.com/<username>/<repositoryname>.git
Solution 4: Easiest Way
Use My Account → Settings → Developer settings → Personal access tokens → Generate new token.
git remote set-url origin https://<token>@github.com/<username>/<repo>
Solution 5: Follow this steps
- First of all Open This URL
- And log in with your credentials.
- Click on the Setting menu.
- Then, From the Setting menu click on Developer Settings
- Now, From the Developer Settings, menu click on Personal access token
- From the Personal access token click on the Generate new Token button.
- Now fill up required details like Note, Expiration, Select scopes. And then click on below Generate Token button.
- After that new token has been generated. Copy that generated token and use this token to access Git with username and token.
- If you are using Windows then please follow the below steps.
- Open Control Panel => User Accounts => Manage your credentials => Windows Credentials.
- It will show all generic credentials. Find your GitHub URL and click on that. Now click on the edit button. And then add the personal access token generated from GitHub into the password field. And click on the Save button.
- Now you can access Git.
Here Is Video Guide to generate Token
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also Read
This worked just fine on Ubuntu. Thank you so much!!
Your explanation is very much easy to understand.
Thanks