GNOME Bugzilla – Bug 504783
Google Calendar - support for google apps at custom domains
Last modified: 2013-09-14 16:49:50 UTC
Please describe the problem: The authentication url for the google calender server needs a small modification to accept non @gmail.com usernames. The string GOOGLE_CLIENT_LOGIN_MSG needs an additional parameter, "acccountType=HOSTED_OR_GOOGLE" added. Full details about why this is required can be read in the following mailing list post: http://groups.google.com.au/group/google-calendar-help-dataapi/browse_thread/thread/cf19e5c24ee13ab3/40d35b872e8927ea?lnk=st&q=gdata+calendar+api+apps#40d35b872e8927ea Without this change, the google calendar server only authenticates for user@gmail.com format usernames. I've attached a patch which updates the string and allows authentication. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 101371 [details] [review] Updated GOOGLE_CLIENT_LOGIN_MSG string
Using mandriva cooker, I confirm this bug exists in evolution-data-server-2.21.4-2mdv2008.1
The patch doesn't work (maybe incomplete). Here's what happening when trying to connect to my Google Calendar (with patch applied): $ evolution CalDAV Eplugin starting up ... evolution-shell-Message: Killing old version of evolution-data-server... ** (evolution:7296): DEBUG: mailto URL command: evolution %s ** (evolution:7296): DEBUG: mailto URL program: evolution (evolution:7296): e-data-server-DEBUG: Loading categories from "/home/eandry/.evolution/categories.xml" (evolution:7296): e-data-server-DEBUG: Loaded 36 categories (evolution:7296): e-data-server-ui-WARNING **: Le fichier de clés n'a pas de clé « Google:__http:__www.google.com_calendar_feeds_eandry@free.fr@gmail.com_private_full » Did you notice the 'eandry@free.fr@gmail.com' ?
eandry, This is actually a follow-up patch to the one attached to http://bugzilla.gnome.org/show_bug.cgi?id=503954 (which has been applied to evolution svn) The patch in bug 503954 fixes the google calendar plugin setup to accept non gmail addresses, but on it's own it's not enough to fix the issue. It also needs this patch to allow google to authenticate the login properly. If you try it with evolution svn > r34732, it should all work ok!
Nyall, Commit it to trunk.
Thanks for reviewing this patch, I'd love to commit it but don't have commit rights!
Patch committed to SVN trunk as r8334 (http://svn.gnome.org/viewvc/evolution-data-server?view=revision&revision=8334) [NOTE: New ChangeLogs added to SVN trunk] Please close the bug if all issues (regarding custom domain names) are resolved.