![]() Throws following error message:Īsked for: We are using https to clone. It looks like it get hit by the Siteminder form as it is not using basic authentication (i think so). Infact, I even tried by giving username and password in the clone command itself. How can we make Git to clone via basic authentication ? No it does not prompt for the credentials. But I guess, i was wrong, it seems Git does not use basic authentication to clone the repositories.ģ) Git clone fails from the command prompt. As you said, it uses Rest API and its same the curl command also uses to connect to Bitbucket.Ģ) We assumed that if Siteminder is set to accept basic authentication it would work for Git clone also. And, also sourcetree is able to fetch the list of the repositories. i can say this with confirmation because curl command works absolutely fine. I will try to answer all of them.ġ) Yes, Siteminder has been configurred to accept the basic authentication. But when i try to clone it, it fails by hitting the Sitminder form.Ĭan someone please help to resolve this problem. ![]() Though, it is able to create a remote account with basic authentication and is even able to fetch the list of the repositories. ![]() We tested it by using some curl command to fetch list of repos and projects from Bitbucket and it worked successfully.īut when we try to clone a repository in SourceTree by using basic authentication. We have enabled basic authentication in Siteminder also so that it can accept the login credentials being send via basic authentication. We found in SourceTree there is feature to enable basic authentication. It is working absolutely fine for us for logging into Bitbucket from the browser.īut when we try to use SourceTree to clone a repository from Bitbucket. Fill in the remote repository URL (Both HTTPS and SSH will work) and all other details. Also, we have created a login form in Siteminder to manage the authentication for the users. Solution There are a few ways to clone a repository into SourceTree: Method 1 - Directly through the SourceTree's Main UI Steps: Click on the 'Clone/New' button. We have setup Siteminder for the SingleSignOn authentication for Bitbucket. 1K Share 161K views 3 years ago Bitbucket Cloud Demos Learn how to work your Bitbucket Cloud repository with this tutorial. Sourcetree Get started Install and set up Sourcetree Create a local repository If youre just starting out, you can create a repository locally from Sourcetree. ![]()
0 Comments
Leave a Reply. |