Installed Sourcetree 3.4.23 on my new Windows 11 Pro 64-bit machine.
When I try to clone a branch, it throws an authentication error and I can't get past it. First time it asks for a username and password, but fails the authentication every time.
Error: remote: Invalid credentials
fatal: Authentication failed for 'https://bitbucket.org/..../projectname.git'
- Not using Mercurial and SSH Keys.
1) Sourcetree > Tools > Options > Authentication > Accounts: Deleted all the accounts and added bitbucket account again. Refreshed OAuth Token and it completes authentication there.
2) C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree: Deleted passwd file. Even with the BitBucket authentication in step #1, it asks for user name and password when cloning a branch (if passwd file is deleted) and fails the authentication. On https://bitbucket.org/, the same credentials work fine.
3) In Credentials Manager, deleted all the BitBucket related accounts and went through everything again.
The same URL to clone works fine on my old Windows 10 Pro computer. I even copied both the SourceTree folders under AppData\Local\Atlassian from my old PC (does not have the passwd file) to my new PC, but the problem persists.
If you just use the "remote" tab to clone directly from bitbucket:
you add a "bitbucket" account and select Oauth as auth. method,
then you choose the repo you want to clone in the pane on the side
When I use "remote" tab to clone directly from BitBucket and use the account with Oauth as the authorization method, selecting the repo still asks me to authenticate my user, but fails.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.