I started SourceTree today and was asked for my credentials. I entered them and it brought me to the OAuth authorization page but there is an error:
Invalid redirect_uri
This integration is misconfigured. Contact the vendor for assistance.
So i did a full, clean install of the latest version of SourceTree and now I cannot complete the setup process as it is stuck at the OAuth authorization page with the same error as above. I need this working ASAP so any help is highly appreciated!
I found a way to get SSH method working:
Hope this helps someone.
Also, I recommend everybody to use SSH instead of HTTPS as a preventative measure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Seadna Smallwood Thanks, your solution worked for me. The last step didn't work well, after several Sourcetree restarts, the workaround was to close source tree, open an existent repository and edit the file ~\.hg\hgrc. Under [paths] replace the default OAuth link with the SSH link from bitbucket repository URL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Vadim Tofan thanks for pointing that out! I did this also but forgot to put it in the list! I'll edit my post now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a known issue and has to do with OAuth, the Bitbucket team is aware of it and are actively working to resolve it. Check https://bitbucket.status.atlassian.com for more information.
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.
It looks like you might be running into this:
https://jira.atlassian.com/browse/SRCTREEWIN-10965
While there isn't a posted solution for it yet, you might want to go vote, watch and comment on that issue.
Sorry I can't offer more help.
-James
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Seadna Smallwood - You might be right! That or they are essentially the same thing but no one has investigated to see if they are the same root problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes neither issue has been assigned yet. I linked them as i think they are the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to get sourcetree running on my PC but still cannot fetch or pull. I have a laptop where it is running fine, I copied the Atlassian and Sourcetree folders from AppData\Local on my laptop to the same location on my PC. I then ran the installer again and SourceTree opened.
I cannot fetch however as it still asks for credentials and brings me to the Invalid redirect_uri error page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry when I say 'running fine' i mean that I don't have the OAuth/redirect issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the issue is tied to the specific computer. I wonder is there a reg key that can be cleared or something. Or is there another location that I don't know about where is something that can be deleted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the same problem.
I installed sourcetree and registered bitbucket on one computer (with windows 10)
after that I tried install sourcetree on second computer (with windows 7) but it is no able to pass second step - registration,
when I click bitbucket web broswer opens new page with information "Authentication Successful"
but install stay in registration page.
I copied Atlasian and sourcetree directories from 1'st computer but stil the same...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My workaround was to clone the repository into another folder. hope this helps you too. EDIT: this worked temporarely
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.