I am trying to put a calendar event into a calendar without the authentication prompt. I have read that using an OAuth Service Account allows you to do this. I have set up the S
You may try set the auth like this:
$auth = new Google_Auth_AssertionCredentials( SERVICE_ACCOUNT_NAME, SCOPES, $key, 'notasecret', 'http://oauth.net/grant_type/jwt/1.0/bearer', ADMIN_USER );