Git Basic Authentication Deprecated


(Chris Horikx) #1

I got an email today after authenticating a new GitHub Repo on Squiz Matrix using Basic Authentication AKA username and password. It states:

You recently used a password to access the repository at horikx/visitwaggapartnerpay with git using git/1.8.3.1.

Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates.

Thanks,
The GitHub Team

Has there been any talk about how this will be solved?


(David Schoen) #2

We have recommended using ssh rather than https for a while - https://matrix.squiz.net/tutorials/2018/how-to-set-up-a-git-bridge#configuring-the-repository

If you want to continue using https, the token suggested in the article you have linked should work the same as a password.