Chapter 5. Calendar Server
71
c) Click Add app and then select OAuth app.
d) Search for the client ID of the service account which you have obtained
when setting up the service account. For example:
e) Select Trust from the pop-up dialog.
3. Enable domain-wide delegation.
a) Go to Security > Access and Data Control > API Controls >
MANAGE DOMAIN-WIDE DELEGATION SETTINGS.
b) For API client, click Add New.
c) In the pop-up screen, configure the following fields.
Client ID: paste the ID you copied in step 8.
Scope: fill in the following URLs separated by half-spaced commas
https://www.googleapis.com/auth/calendar.events
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/admin.directory.user
https://www.googleapis.com/auth/admin.directory.group
https://www.googleapis.com/auth/admin.directory.resource.calendar