Sourcetree Oauth

Deleting a Repo from SourceTree. Since this was just a test repo, I'll delete it from my machine. Right click on the bookmark; Select 'Delete' (When you do that, you'll be asked whether you'd just like to remove the bookmark from SourceTree and leave the repo on your machine, or also move the repo to the Trash.

Sourcetree
  • Status:Needs Triage(View Workflow)
  • Resolution: Unresolved
  • Fix Version/s: None
  • Labels:

Summary

User is adding their Bitbucket account in SourceTree via OAuth and with HTTPS authentication.
Pulling/pushing from a Bitbucket repo fails with an error:

Sourcetree oauth github

I've tried re-adding GitHub using both OAuth and Basic auth, and in both cases SourceTree reports 'Authentication OK' from the settings dialog, but my issue persists - SourceTree always shows me the login prompt when I try to push or pull and always says that I typed in the password incorrectly even when I type it in correctly. Start Sourcetree Go to Authentification again and insert the OAuth of your bitbucket (Be sure to be logged into bitbucket on your browser before you click Authenticate. Restart mac from bootable drive. Select Source Tree. Go to SourceTree menu - Select Preferences. It will show Accounts window.

Something went wrong. one or more parameters required to renew token is nil.
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: authentication failed for <repo_url>

Oauth

Environment

SourceTree ver 2.4 (93), MacOS 10.12.2 (16C68), Embedded Git version 2.2.1

Steps to Reproduce

We haven't been able to reproduce this issue. A user has reported that it occurs when:

  1. They removed all entries from Keychain Access related to bitbucket.org
  2. They added their Bitbucket account in SourceTree with OAuth (and HTTPS authentication)
  3. They try to pull in an existing Bitbucket repo (via HTTPS)
  4. They are asked for password, and enter the password

Expected Results

Resource

the pull succeeds

Actual Results

Pull fails with the message:

Something went wrong. one or more parameters required to renew token is nil.
remote: Invalid username or password. If you log in via a third party service you must ensure you have an account password set in your account profile.
fatal: authentication failed for <repo_url>

The same password works with another Git client

Sourcetree Oauth Resource Removed

Votes:
0Vote for this issue
Watchers:
4Start watching this issue