Fixed GitHub’s bug “Password authentication support has been removed”
GitHub error “Password authentication support removed”
You can no longer send code to GitHub with a simple username and password.
When you do so, you will encounter the annoying “Password authentication support has been removed” error. More specifically, the exact GitHub error message is as follows:
Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
Instead of a password for authentication, GitHub now requires a personal access token instead.
GitHub wants to make its platform as secure as possible. If a high profile customer is ever hacked their password, GitHub worries that they’re the one with the egg on their face. By forcing users to think about who has rights to a GitHub repository, what types of fine-grained repository access users should have, and eliminating the possibility of using weak passwords, the hope is that the cloub-based GitHub Platform becomes more secure.
Fortunately, the “Password Authentication Support Removed” error is easy to fix on GitHub. That’s how it’s done.
How to generate a personal GitHub access token
To generate a personal access token on GitHub and resolve the “Password authentication support removed” error, do the following:
- Log into GitHub with your username and password
- Navigate to your GitHub account settings
- Scroll down and click on “Developer Settings” in the list of links on the left.
- Click the Personal Access Token link
- Click the Generate New Token button
- Add a “note” to describe token usage
- Set an expiration date for the GitHub personal access token
- Select the appropriate authentication realm
- Click the Generate Token button
Then copy your personal access token before exiting the page as the token’s alphanumeric value will not be displayed again. The next time you push on GitHub, provide the personal access token instead of the password and you’ll have fixed the “Password authentication support has been removed” error.
Cached GitHub credentials
If after generating the personal access token you are still having problems authenticating with GitHub, check that the password is not cached anywhere.
If you are on Windows, check the Credentials Manager. This app stores usernames and passwords that are used without the operating system. If you see a GitHub password stored in Windows Credentials Manager, just delete it and then try sliding back on GitHub again. You will be asked for a password and then simply provide the GitHub token.