Setup Github with Personal Access Token

MariusVT April 26, 2022

Good day,

I have worked through numerous articles and can not get my Github account set up with a PAT in SourceTree.

I am running Windows 10 and SourceTree V3.4.8

Amongst others I have tried the following:

Deleted all cached logins in Windows Credential Manager.
In SourceTree deleted and re-created my Github account.
Set auth type to Basic.

 

But still when doing a Push in SourceTree I am getting the following.

---------------------------------------------------------------------------------

remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/xxxxx/xxxxx/'

---------------------------------------------------------------------------------

Where in SourceTree should I save my Personal Access Token? In the password field?
What kind of authentication should be selected? Basic? I assume.

I do not get the prompt for user & password when doing the Push.

Why is this so damn hard to setup in SourceTree? :)

 

 

Thank you all in advance :)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events