close

[Solved] remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead

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 ?

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 ?

  1. 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

  2. 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.

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

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

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

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

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

Step 5 Click on generate new Token

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

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

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

Step 7 Click on Generate token.

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

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

  1. Generate a new token and copy-paste it somewhere safely.
  2. Now search for an App in your Mac, named Keychain Access.
  3. Search for github.com (if there are multiple github logins then choose Kind: Internet password), double-click it.
  4. Click on show password, then enter your mac’s password and hit enter.
  5. 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

  1. Generate a new token and copy-paste it somewhere safely.
  2. Search for App in your Windows OS, named Credential Manager > then Windows Credentials.
  3. Search for github.com and Edit the password with the token you have generated on Github. Now Enjoy!
  4. 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

  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.

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

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment