Error (401) Login Required - Google Calendar API v3
问题 I want to add an event to a particular Google Apps calendar each time that an appointment is booked in my codeigniter app. So far I've gone through the following steps (from Using OAuth 2.0 for Server to Server Applications): Add Google API Client Library to application/third_party Create Service Account in Developer Console with Google Apps Domain-wide Delegation enabled Store provided .p12 file Authorize Service Account Client ID in Google Apps Admin Console with scope of https://www