title: Getting Message "Sorry, this site hasn't been shared with you" while access url through REST in sharepoint 2013 app model
body: <p>I am accessing a list through SharePoint 2013 App using REST, below is code snippet:</p>
  
  <pre><code>var executor = new SP.RequestExecutor(appweburl);
      executor.executeAsync(
          {
              url: appweburl +
                 "/_api/SP.AppContextSite(@hostweburl)/Web/lists/getbytitle('SomeListName')/items?" +
                 "@hostweburl='" +
                 hostweburl + "'",
              method: "GET",
              headers: { "Accept": "application/json; odata=verbose" },
              success: successHandler,
              error: errorHandler
          }
      );
  </code></pre>
  
  <p>when i am debugging it, getting the complete URL from URL tag, but when i am going to access it through browser, it shows me message like "Sorry, this site hasn't been shared with you".
  Why is this so happen while i have the full control over site collection.</p>
  
  <p>Is there any configuration which we have to be made in APP?</p>
  
  <p>Thanks.</p>