0 Replies Latest reply on Dec 8, 2015 8:02 AM by bas.kuis

    ive connects configuration produces {"errorCode":"URL_NOT_RESET","message":"Destination URL not reset. The URL returned from login must be set"}

    bas.kuis

      Hi Team! I'm trying to setup Jive connects to integrate with Salesforce using OAuth following the following guide:

      Salesforce Via Jive Connects | Jive Community

       

      The configuration:

      Screen Shot 2015-12-08 at 9.59.37 AM.png

       

      In the app xml:

       

      <Require feature="jive-connects-v1">

          <Param name="alias:salesforce|title:Salesforce.Com REST API">jive:service://salesforce.com/api?version=1</Param>

      </Require>

       

      The request:

      osapi.jive.connects.get({

          alias : 'salesforce',

          href : '/services/data'

      }).execute(function (response) {

          console.log(response);

          alert(JSON.stringify(response));

      });

       

      The response:

      {"error":{"code":401,"oauth2_redirect_uri":"https://test.salesforce.com/services/oauth2/authorize?response_type=code&client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&redirect_uri=https%3A%2F%2Fcommunity.xxxxxxxxxxxxxx.com%2Fapi%2Fconnects%2Fv1%2Foauth2%2Faccess&state=connectionID_1000%7CappInstanceID_7550&scope=full","message":"Bad Request"},"headers":{"date":["Tue, 08 Dec 2015 15:49:12 GMT"],"set-cookie":["BrowserId=xxxxxxxxxxxxxxxxxxxx;Path=/;Domain=.salesforce.com;Expires=Sat, 06-Feb-2016 15:49:12 GMT"],"expires":["Thu, 01 Jan 1970 00:00:00 GMT"],"transfer-encoding":["chunked"],"content-type":["application/json;charset=UTF-8"]},"status":401,"content":[{"errorCode":"URL_NOT_RESET","message":"Destination URL not reset. The URL returned from login must be set"}]}

       

      Has anybody had luck configuring Jive connects with Salesforce?