GNOME Bugzilla – Bug 707916
Google CardDAV access is broken
Last modified: 2013-09-12 13:17:53 UTC
Created attachment 254694 [details] [review] add CardDAV OAuth2 scope From the patch: ----------------- Google tracks access to contacts via CardDAV and GData with different OAuth2 tokens; for calendar, the token is the same in both protocols. This does not affect Evolution, because Evolution only uses GData (so far), but GOA claims to support CardDAV access to Google and thus should ask for the right scope. That the old set of scopes was not enough was verified by adding support for GOA to SyncEvolution. Without this patch, Google rejects access to the CardDAV resources with a 401 "AuthSub challenge". ------------------ The patch was prepared tested with the latest GOA 3.8.x, but should equally apply to the current development version. Note that I have not pushed that SyncEvolution patch to a public repo. I'm still working on the instructions for users, for which I need to know whether GOA 3.10 will fix this problem :-)
Review of attachment 254694 [details] [review]: The credentials generation should also be bumped, because the old access tokens will not work with the new set of scopes. ::: src/goabackend/goagoogleprovider.c @@ +124,3 @@ + /* Google Contacts API (CardDAV) */ + "https://www.googleapis.com/auth/carddav " Probably better to mention that this is undocumented. I keep getting lost in all the details about all the providers and Google is particularly confusing.
Created attachment 254781 [details] [review] google: Add the OAuth2 scope for CardDAV
Comment on attachment 254781 [details] [review] google: Add the OAuth2 scope for CardDAV Pushed to both master and gnome-3-10.