title: How to access Google Drive docs from a server with no browser
body: <p>I've worked through the examples for performing OOB OAuth2 connections and it works fine from my laptop.</p>
  
  <p>The challenge I'm having is that it fires up a browser, asking me to verify if I want to grant access for my app to the documents in question.  From then on it stores my credential set in a local file and continues to work just fine.</p>
  
  <p>The use case I have is that I have a number of departments in my company that want to leverage Google Docs spreadsheets for reporting.  I then want to be able to run a program on a server (from a cron job) that can scrape this data and build an aggregated report for all departments.</p>
  
  <p>I had intended on creating a "reporting user" that is granted read access to all of the documents in question, then run the report process using that identity.</p>
  
  <p>I tried running it on my laptop, then copying the stored credentials to my server for it to use.  But it seems those credentials are tied to the machine and so it forces a new verification flow via browser.</p>
  
  <p>Any suggestions on how to work with the auth flow for Google Drive to allow me to do what I need?</p>
  
  <p>TIA</p>