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
It sounds like you need to grant access to the google apps domain user data. Link below under section "Delegate domain-wide authority to your service account".
https://developers.google.com/drive/web/delegation
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
);