I use GitHub with 2FA. In previous versions of SourceTree, I could go into my GitHub Account and create a Personal Access Token and use that as my password, and all was good in the world. Now, with version 220.127.116.11, SourceTree will not accept the Personal Access Token that I generate myself, and it seems to keep generating new ones automatically on my GitHub account and keeps repeatedly asking for me to re-login with 2FA. Each time I do, it seems, it creates another new Personal Access Token.
For example, every time I switch from my wired connection to wireless, SourceTree pops up a GitHub login, where I enter my usual username and password then the 2FA code sent to my phone. It seems like every time it does this, it creates a brand new Personal Access Token in my GitHub account - totally defeating the purpose!
Under Tools --> Options --> Authentication, SourceTree has created its own "github.com" entry for me with Username: Personal Access Token. I tried to delete that one and set up my own, using Basic Authentication, with my usual github username and a Personal Access Token I manually generate myself as the password, and it will not connect with those credentials. It seems the only way it will connect to github is through the Account it creates itself after the github login popup screen - the one that keeps creating new Personal Access Tokens each time.
Very frustrating and particularly annoying since I pay for each of those texts to send the 2FA code to my phone.
I'm having a similar issue (SourceTree 3.0.12):
I created a personal access token in github (account requires MFA)
when I add an account (Tools -> Options -> Authentication) if I choose OAuth, it logs me into my github account and uses my user name in the "Username" field and it is not possible to change the username. I can't change it and there's no place to put the personal access token.
what am I missing?
Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going. The ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs