title: Java and Google Spreadsheets API Authorization with OAuth 2.0
body: <p>I want to read Google Spreadsheets using Java, and the recommended way to do this is using the <a href="https://developers.google.com/google-apps/spreadsheets/" rel="nofollow">Google Spreadsheets API</a>.</p>
  
  <p>The problem begins when you want to make procedures secure, so they encourage you to use OAuth 2.0. In the <a href="https://developers.google.com/google-apps/spreadsheets/#authorizing_requests" rel="nofollow">official page</a> they show how to do this using only .NET and say that "<em>the Java client library doesn't currently support OAuth 2.0</em>", and they give alternatives like using <code>OAuth 1.0</code> or <code>Client Login</code> using directly <em>email</em> and <em>password</em>.</p>
  
  <p>Is this for sure?, isn't there a way to do OAuth 2.0 Authentication through Java, maybe not using directly the Java client library, but through requests with specific parameters.</p>
  
  <p>Please I would appreciate any suggestions.</p>