I'm switching from user/password authentication to token authentication with Eclipse EGit client and Github server.
Normally Eclipse EGit prompts for password where you can input your token safely.
My issue is that it tries to use the password that is already saved with user/password authentication.
As an ugly workaround, I've entered the token in user.password
entry in the Git Configuration tab in the Eclipse preferences and it worked, but I'd like to know a safe way to achieve the same.
How do I input my token safely or force EGit to prompt for a password/token ?