How to fix password authentication issue on Git

Allen Goo
2 min readAug 14, 2021

As of yesterday, you can no longer use password authentication which had been commonly used on Git.

If you’ve been using that way, you will see these error logs whenever you want to work with Github.

λ git push
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: unable to access 'https://github.com/gooallen/web-dev-workspace.git/': The requested URL returned error: 403

From now on, you need to use a personal access token instead. You can create your access token here on Github.

Settings -> Developer settings -> Personal access tokens

Once you create your token, you need to register your credential with the token you just generated. But if you’ve been using previous way which is password authentication, your Git still tries to use that until you delete the user cache manually.

There are several ways to remove your cache. But this one command took care of it perfectly on Windows for me.
git credential-manager uninstall

--

--