/**
  * @param GoogleConnection $connection
  *
  * @return string
  */
 private function getAuthConfig(GoogleConnection $connection)
 {
     return json_encode(['installed' => ['client_id' => $connection->getClientId(), 'project_id' => $connection->getProjectId(), 'auth_uri' => 'https://accounts.google.com/o/oauth2/auth', 'token_uri' => 'https://accounts.google.com/o/oauth2/token', 'auth_provider_x509_cert_url' => 'https://www.googleapis.com/oauth2/v1/certs', 'client_secret' => $connection->getClientSecret(), 'redirect_uris' => ['urn:ietf:wg:oauth:2.0:oob', 'http://localhost']]]);
 }