I have a GAE project (python 2.7 runtime) that uses the Google Calendar API 
v3. Up until last week, I had been using the default GAE service account to 
connect to the calendar API, and the service account was given read/write 
permission to the calendar under calendar sharing settings.


Since last Thursday Oct 20, the service account cannot write to the 
calendar (events.post or events.patch) -- returns a 403 Forbidden -- and 
reads (events.list) return 200, but no records. Checking the permissions 
for the account under calendar sharing, it has been changed to "See 
Free/Busy only".


I believe this is related to this announcement from Google about winding 
down OAuth 1.0 service accounts on Oct 20: 
https://developers.googleblog.com/2016/04/saying-goodbye-to-oauth-10-2lo.html


The recommendation seems to be to grant Domain Wide Delegation to the 
service account: 
https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority


We have followed the instructions on this page, but it doesn't work using 
either AppAssertionCredentials or ServiceAccountCredentials.  

More details at this SO question:
http://stackoverflow.com/questions/40223292/google-app-engine-auth-for-google-apis-using-service-account

Thanks for any light you can shine on this problem.



-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/85d501e3-6cbd-4616-95cc-39392acc75b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to