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

Vedant Kekan
2 min readAug 20, 2021

Recently if you have seen the below error while trying to operate your git repository,

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

Fix this issue with simple steps by following this easy 2 minutes tutorial

Please subscribe to my channel if it helps you resolve issues.

Steps on Mac:

  1. Goto this link: https://github.com/settings/tokens (Profile -> settings -> developers setting -> personal access tokens). (don’t goto repository setting, it’s your profile setting)
  2. Generate a new token and copy-paste it somewhere safely.
  3. Now search for an App in your Mac, named Keychain Access.
  4. Search for github.com (if there are multiple GitHub logins then choose Kind: Internet password), double-click it.
  5. Click on show password, then enter your mac’s password and hit enter.
  6. Password should be visible by now. Now, just paste the token you generated in step 2 and click `Save changes.

Steps on Windows:

1. Open GitHub and login with your credentials.

2. Click on the Setting menu.

3. From the Setting menu click on Developer Settings

4. From the Developer Settings, menu click on Personal access token

5. From the Personal access token click on the Generate New Token button.

6. Now fill up required details like Note, Expiration, Select scopes. And then click on below Generate Token button.

7. After that new token has been generated. Copy that generated token and use this token to access git with username and token.

8. Open Control Panel => User Accounts => Manage your credentials => Windows Credentials.

9. 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 filed. and click on save.

Enjoy!
Thank you

#github #githubpassword #githubpasswordauthtication #fixgithub

--

--