title: insufficient permission error due t scope
body: <p>I encounter the following error in console while trying to execute my code:</p>
  
  <pre><code> POST https://content.googleapis.com/urlshortener/v1/url?alt=json&amp;key=AIzaSyB3BGJskI7cJUvnl7jzjiX4eh86K9sldgA 403 (Forbidden)
  </code></pre>
  
  <p>I am using google URL Shortner API, and feel that the issue is derived from insufficient permission as shown by the error in details:</p>
  
  <pre><code>{
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "insufficientPermissions",
      "message": "Insufficient Permission"
     }
    ],
    "code": 403,
    "message": "Insufficient Permission"
   }
  }
  </code></pre>
  
  <p>Below is the part of the code that I think affects it:</p>
  
  <pre><code>/ The Browser API key obtained from the Google Developers Console.
        var developerKey = 'ID';
  
        // The Client ID obtained from the Google Developers Console.
        var clientId = 'ID';
        // Scope to use to access user's photos.
        var scope = ['https://www.googleapis.com/auth/drive'];
  
        var pickerApiLoaded = false;
        var oauthToken;
  
        // Use the API Loader script to load google.picker and gapi.auth.
        function onApiLoad() {
          gapi.load('auth', {'callback': onAuthApiLoad});
          gapi.load('picker', {'callback': onPickerApiLoad});
        }
  
        function onAuthApiLoad() {
          window.gapi.auth.authorize(
              {
                'client_id': clientId,
                'scope': scope,
  
                'immediate': true
              },
              handleAuthResult);
        }
  </code></pre>
  
  <p>In particular,</p>
  
  <p>'scope': scope,</p>
  
  <p>I have been struggling with this issue for a while and is looking for a soluton.</p>