To authenticate, get an API access key and secret from the Google API console, then use those along with the login URL to request an authentication token.