title: Unable to call one loopback app models in another looopback app using loopback-connector-remote
body: <p>I have created two test loopback apps using lb cli</p>
  
  <pre><code>1) loopbacktest1
  2) loopbacktest2
  </code></pre>
  
  <p>And I am using loopback-connector-remote to get access of loopbacktest2 
  models in loopbacktest1, but I could not access it and I could not even
  see app2 models in app1 at all(vice verse as well), Can anyone help me?</p>
  
  <p>Here is my datasoureces</p>
  
  <pre><code>{
   "db": {
   "name": "db",
   "connector": "memory"
   },
  "MyMicroService": {
   "name": "MyMicroService",
   "connector": "remote",
   "url": "http://localhost:7001/api"
   }
  }
  </code></pre>
  
  <p><strong>Updating question with final answer:-</strong></p>
  
  <p>Add below config in json file(this is the remote method name)</p>
  
  <pre><code>  todos.json
    "methods": {
      "getName": {
        "returns": {
        "arg": "data",
        "type": "string"
       },
       "http": {
         "verb": "get"
       }
     }
    }
  </code></pre>
  
  <p>And call that remote method like this</p>
  
  <pre><code>const remoteDs = ModelName.app.dataSources.MyMicroService;
    // the strong-remoting RemoteObjects instance
    const remotes = remoteDs.connector.remotes;
    remotes.auth = {
      bearer: `${access_token}`,
      sendImmediately: true
    };
    MyMicroService.app.models.todos.getName(function (err, data) {
      cb(err, data);
    });
    // cb(null, data);
  }).catch((err) =&gt; {
    cb("sone error", null);
  });
  </code></pre>
  
  <p>Here still I am facing some small issue, that is if above authentication fails then I am getting err as null and data as undefined, Instead I am expecting error value and data as null.There might be some issue in loopback-connector-remote</p>