Support for password authentication was removed – GitHub

Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. Are you trying to use push or push code from your GitHub and you are getting this message. We will provide you with a simple solution to this.

Github is no longer accepting account passwords when authenticating git operations, You will need to use Personal Token Instead.

Step by Step for Password Authentication

  • Go to your github account
  • Click Profile -> Settings -> developer settings -> Personal Access Token.
  • Generate Token and copy it.

MAC OS users

  • Now search for an app in your Mac, named Keychain Access
  • Search for github.com (if there are multiple GitHub logins then choose Kind: 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.
  • That’s all.

Windows Users:

  • Search for an application in your Windows OS, named Credential Manager → then Windows Credentials.
  • Search for github.com and edit the password with the token you have generated on GitHub
  • That’s all.