title: Google Drive SDK: using drive.install scope to integrate web app into "open with" UI not working
body: <p>I have tried without much success to integrate my web application within the Google Drive UI (to open files). I cannot get the app to install using the OAuth scope <code>https://www.googleapis.com/auth/drive.install</code>. </p>
  
  <p>I was wondering if anybody could share their Drive SDK configuration to see if I missed something. I tried installing my app using the Google API Console by selecting the <strong>Drive Integration</strong> to automatically authenticate. I also tried manually making the OAuth request using the <code>google-api-client</code> gem.</p>
  
  <p>I always get the permissions dialog and I can see the following being requested: <code>Add itself to Google Drive</code>. I also get redirected back to my application like a normal OAuth request, but the application is never listed in Google Drive.</p>
  
  <p>I have been requesting the following scopes:</p>
  
  <p><code>https://www.googleapis.com/auth/drive.install
  https://www.googleapis.com/auth/drive.file
  profile
  user
  </code></p>
  
  <p>Allowing <strong>Import</strong> and these <strong>Secondary MIME Types</strong>:</p>
  
  <p><code>application/vnd.google.drive.ext-type.html
  text/html
  </code></p>
  
  <p>I followed the documentation here: <a href="https://developers.google.com/drive/web/enable-sdk" rel="nofollow">https://developers.google.com/drive/web/enable-sdk</a></p>
  
  <p>Thanks in advance for any help!!</p>