title: Authorize to google calendar without redirecting to log-in page
body: <p>I would like to get instance of Google Calendar, but without redirecting to Google log-in page for user authorization. I am able to load client secrets like client ID, client secret etc. However, authorize() method is always redirecting me to google log-in page.</p>
  
  <p>Is there any solution how to get credentials and authorization required for getting calendar and event instances from google, but just with authorization included in java class, not by redirecting to log-in page?</p>