title: gapi authorize returns access_denied from website on mobile but works from desktop
body: <p>I have a web application which sends an email using gmail api.
  The email sends from Google chrome desktop version but not from a mobile (android 10).
  At the bottom of my html, I include this script...</p>
  <pre><code>&lt;script src=&quot;https://apis.google.com/js/client.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>My authorize code looks like:</p>
  <pre><code>checkAuth: function () {
      var self = this;
      gapi.auth2.authorize({
          client_id: *myClientId*,
          scope: *myScopes*,
          prompt: 'none',
          response_type: 'permission',
          login_hint: '*my email address*'
      }, self.handleAuthResult);
  }
  </code></pre>
  <p>The response I get is:</p>
  <pre><code>{&quot;error&quot;:&quot;immediate_failed&quot;,&quot;error_subtype&quot;:&quot;access_denied&quot;}
  </code></pre>
  <p>I suspect the issue is in my app credentials in the google cloud platform but I don't know how to tell it to accept use from a mobile.</p>
  <ul>
  <li>API restrictions: 'Gmail API'</li>
  <li>Application restrictions: none</li>
  </ul>
  <p>Any ideas?</p>