After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 504783 - Google Calendar - support for google apps at custom domains
Google Calendar - support for google apps at custom domains
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
2.22.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-12-21 01:13 UTC by nyall
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Updated GOOGLE_CLIENT_LOGIN_MSG string (984 bytes, patch)
2007-12-21 01:14 UTC, nyall
committed Details | Review

Description nyall 2007-12-21 01:13:54 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:
Comment 1 nyall 2007-12-21 01:14:40 UTC
Created attachment 101371 [details] [review]
Updated GOOGLE_CLIENT_LOGIN_MSG string
Comment 2 Emmanuel Andry 2007-12-24 03:11:20 UTC
Using mandriva cooker, I confirm this bug exists in evolution-data-server-2.21.4-2mdv2008.1

Comment 3 Emmanuel Andry 2007-12-25 19:04:54 UTC
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' ?
Comment 4 nyall 2007-12-25 23:11:31 UTC
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!
Comment 5 Srinivasa Ragavan 2008-01-01 09:00:22 UTC
Nyall, Commit it to trunk.
Comment 6 nyall 2008-01-01 22:02:47 UTC
Thanks for reviewing this patch, I'd love to commit it but don't have commit rights!
Comment 7 Suman Manjunath 2008-01-05 17:51:57 UTC
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.