title: Google OAuth 2.0 and debug key for Google Drive API
body: <p>I've set up 2 Client IDs for Android application in the <code>GoogleDriveAPI</code> console: the first for the release APK and the second for Debug purposes. Everything ok with the released app, but my issue is only related to the second Client ID. 
  I'm getting this exception: <code>com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAuthIOException</code></p>
  
  <p>after the following lines: </p>
  
  <pre><code>Drive.Files.List request;
  request = service.files().list();
  String query = "mimeType='application/vnd.google-apps.folder' AND trashed=false AND title='" + title + "' AND '" + parentId + "' in parents";
  request = request.setQ(query);
  com.google.api.services.drive.model.FileList files = request.execute(); // &lt;=I'm getting the exception here
  </code></pre>
  
  <p>I'm using ADT on windows, I've obtained the sha1 fingerprint for debug keystore from <code>Windows-&gt;Preferences-&gt;Android-&gt;Build</code> for the debug mode, but the Google Drive API authorization fails! Why?
  The (only) solution I've found is to use the "Release" Client ID also in Debug mode, with a custom fingerprint (and that actually works).</p>