I made the grave mistake of upgrading a working installation. Who'd expect a regression bug in something as fundamental as authentication?
HTTPS authentication was working fine for a *private* Github repo. Doesn't now for pull requests. Yet works well enough to download all hunk details of the remote commit that it won't process.
Tried deleting the relevant file in ~/Library/Application Support/Sourcetree, deleting the keychain entry, and re-entering the password when prompted. Even repeating the process after deleting and re-adding the account in Preferences | Accounts. No dice.
In the end, I had to switch to SSH to get things working again, but that was not without annoyances.
- Sourcetree would not allow me to specify the key to be used, and insisted that it was configured in .ssh/config.
- To add insult to injury, when recreating the user account from scratch, Sourcetree refused to recognize the SSH key and config file it had previously generated. Until it decided it would. Very inconsistent.
- Nowhere is a tip offered that the path for a repo is different for ssh as stored in Repo | Settings | Remotes. Instead of being https://my_login@github.com/my_login/repo_name.git, it needs to be gitgithub.com:my_login/repo_name.git. No https:// prefix, 'git@' for the username prefix, and colon after the server name.
I realize you have a competing service to Github, but authentication should really be more robust than it seems here.