Personal Token not working

I’m unable to clone a repo via HTTPS. I have created a personal access token and get the following error:

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

remote: Please see Token authentication requirements for Git operations | The GitHub Blog for more information.

I’ve tried both copy pasting and typing it multiple times, varying case on my login name.

All permissions have been granted on the token, I am not using any APIs just standard github, trying to clone.

Anyone experiencing these issues or has a fix?

Did you remove any locally cached github password credential from local device Credential Manager?
When you next run the clone command git client will prompt for your Credential enter your PAT not your password.
This is often where users get stuck

That was it!! thank you. I had to update my Credential Manager. Thank you.

I’m unable to clone a repo via HTTPS

Something still doesn’t make sense here you shouldn’t need a credential at all to clone.

That depends on visibility, for a private repo cloning requires credentials.

Good point, I was making a poor assumption.

1 Like