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:

  1. Log into GitHub with your username and password
  2. Navigate to your GitHub account settings
  3. Scroll down and click on “Developer Settings” in the list of links on the left.
  4. Click the Personal Access Token link
  5. Click the Generate New Token button
  6. Add a “note” to describe token usage
  7. Set an expiration date for the GitHub personal access token
  8. Select the appropriate authentication realm
  9. 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.

Fixed the bug “Password authentication support was removed on August 13, 2021. Please use a personal access token instead”.

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.

Source link

Leave A Reply

Your email address will not be published.