Serge Goldstein - 2014-03-31 18:41:24
I am working on some code that creates appointments for people. I want to be able to insert those appointments into their Google calendar (if they have one). The problem is, the target user will not be around when this insertion takes place. My plan for doing this was to add the event to MY calendar, and simply have the target user be an "attendee" at the event -- that way, they would receive an invitation to the event on their Google calendar. The problem is that there doesn't seem to be any way for me to add an event to my own Google calendar via the API without going through an OAUTH2 step that requires me to be around (and to authenticate the access via a web page). Does anyone have code that can run on a server which adds events to a Google calendar without anyone being around to authenticate (the credentials are passed internally)?