3

I'm using Sourcetree version 3.4.6.

I have followed the instructions for this SO answer. I get the token and in Tools => Options => Authentication tab I click on the Add text:

enter image description here

I use the PAT as password but I get a "Authentication failed" message.

How can I use PAT with SourceTree?

VansFannel
  • 45,055
  • 107
  • 359
  • 626

1 Answers1

0

You should first authenticate with your default browser on your github account with your credentials (or just check if you're already authenticated), then choose in the SourceTree app the "OAuth" authentication instead of the Basic then click "Refresh OAuth token". Now you should be able to enter successfully to your github repos.

Rosario Russo
  • 680
  • 2
  • 8
  • 14