Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Egit and GitHub authentication deprecation

I'm using Eclipse (Egit) and GitHub and I'm receiving this notice:

Hi,

You recently used a password to access the repository with git using JGit/5.10.0.202012080955-r.

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.

Currently I'm using HTTPS connection with user and password and probably I have to switch to a HTTPS token, but how can I configure Eclipse/Egit for an HTTPS token?

like image 380
Tobia Avatar asked Feb 19 '21 15:02

Tobia


1 Answers

Github deprecated the authentication of using your personal account password. You will need to change your git credentials in Eclipse to use a personal access token instead of using your Github account password.

Link for creating a personal access token.

Link for changing your credentials in Eclipse.

like image 140
Tal Avatar answered Oct 21 '22 19:10

Tal