[evolution-data-server] GOA Google module - Update authentication method before WebDAV discovery
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] GOA Google module - Update authentication method before WebDAV discovery
- Date: Thu, 30 Apr 2015 13:03:39 +0000 (UTC)
commit 92d09e86850b53a1dbd7257ede2d788f5742cf7d
Author: Milan Crha <mcrha redhat com>
Date: Thu Apr 30 15:01:18 2015 +0200
GOA Google module - Update authentication method before WebDAV discovery
That's on the collection source, which is used for the discovery, thus
the underlying credentials provider know where to get the password,
either from GOA as OAuth2, or from the user. Without that the discovery
for GOA configured Google account failed and no calendars were found.
modules/google-backend/module-google-backend.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/google-backend/module-google-backend.c b/modules/google-backend/module-google-backend.c
index e7ba856..538583f 100644
--- a/modules/google-backend/module-google-backend.c
+++ b/modules/google-backend/module-google-backend.c
@@ -355,6 +355,8 @@ google_backend_authenticate_sync (EBackend *backend,
g_list_foreach (sources, google_add_uid_to_hashtable, known_sources);
g_list_free_full (sources, g_object_unref);
+ google_backend_calendar_update_auth_method (source);
+
if (e_source_collection_get_calendar_enabled (collection_extension) &&
e_webdav_discover_sources_sync (source, e_source_goa_get_calendar_url (goa_extension),
E_WEBDAV_DISCOVER_SUPPORTS_NONE,
credentials, out_certificate_pem, out_certificate_errors,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]