title: how google oauth client lib opens browser for authorization on server side?
body: <p>The following oauth flow is for standalone java app?</p>
  <p><a href="https://developers.google.com/gmail/api/quickstart/java" rel="nofollow noreferrer">https://developers.google.com/gmail/api/quickstart/java</a></p>
  <p>For web application accessing google API, how the google client lib opens a browser for authorization? e.g. from a background thread?</p>