'problem when fix error git : "Support for password authentication was removed", there are no github internet password in Keychain Access?

I installed git on my Mac and checked it on terminal by command git version, it showed me this :

git version 2.35.1

So maybe it is ok.

When I tried to push a folder to git, it showed me an error :remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.

And I checked on stackoverflow, here is the link I follow

Support for password authentication was removed. Please use a personal access token instead

https://www.youtube.com/watch?v=iKf8-hhdWjs

My problem is, when I open the Keychain Access, it only show me GitHub application password, there is no Internet Password ?

So, maybe what I was doing wrong ? Or how can I install the Internet Password to Mac ?

How can I solve this?



Solution 1:[1]

it only show me GitHub application password,

You should replace that password by a PAT (Personal Access Token), created:

  • with repo scope
  • with or without an expiration date.

That way, you won't get the error message.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 VonC