Part 2 - git - Fix Support for password authentication was removed on August 13, 2021
git-home-assistant-configuration-part2
in August 2021, GitHub removed support for password authentication for HTTPS URLs. This means that if you try to clone a repository using an HTTPS URL and authenticate with a password, you will receive the following error message: “Support for password authentication was removed on August 13, 2021.”
I was trying to push my latest committed code to the remote GitHub repository, but faced the following error message:
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/collabnix/reponew'
Fortunately, you can fix this issue by switching to a personal access token (PAT) or an SSH URL.
Quick start
create and get a token in github.com
detail:http://localhost:4999/boards/topic/14494/git-2#28399
past token as your password
step 1:Generate new token (classic)
http://localhost:4999/boards/topic/14494/git-2#28399
Generate new token (classic)
Generate new token (classic)
Generate new token (classic)
Make sure to copy your personal access token now. You won’t be able to see it again!
ghp_T929N****
http://localhost:4999/boards/topic/14494/git-2#28399
source:https://collabnix.com/how-to-fix-support-for-password-authentication-was-removed-error-in-github/
Comments
Comments are closed