Google Drive API - How to work with the domain-wide service account
I was trying to use the service account of my app to access to all documents of all users in my domain following this instruction: https://developers.google.com/drive/delegation But it didn't work. This afternoon, my college showed me the old interface of the Google API Console which is different from the above one. So, I tried to create a service account using this page: https://code.google.com/apis/console/b/0/?noredirect The old interface allows me to create a service account which results in these following information: + A private key file (to download right after I created the service account) + Client ID + Email adress Next, I will add the above Client ID to the Admin Console of my domain admin interface, and assign google drive api access for my app's service account with scope: https://www.googleapis.com/auth/drive After that, I can use the service account (private key and email address) to access to all the documents of all users in my d...