I have followed all of the instructions. The instructions say to copy and paste the password. This doesn't even make sense since when you attempt to connect, SourceTree asks you to log in with a 2FA process and "supposedly" saves the OAUTH token, but nope. It doesn't.
Creating a separate password pasting in the OAUTH token also does not work. 2FA makes SourceTree absolutely broken. Is anyone working to make the documentation correct or make the application function properly?
Hi
Can you confirm what version of Sourcetree and Git you are using?
In Sourcetree for Windows when you add/edit a GitHub account you have the option to use Basic Auth username/password or OAuth.
If you select OAuth you should be redirected to the browser to login, go through 2FA,, authorize and then be sent an access_token. This access token is then stored in the Windows Vault/Credential Manager for re-use by Sourcetree for REST interactions and by Git for its interactions.
Independently the Git Credential Manager for Windows, bundled with Git for Windows, supports GitHubs 2FA directly. Again it stores its credentials in Windows Credential Manager.
GitHub recently removed support for TLS 1.0 and 1.1 protocols this means you will need to update to Git 2.16 or higher to continue using http URLs for Git remotes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.