[evolution-data-server/gnome-3-18] Bug 755412 - [UOA] Update OAuth flow according to Google documentation
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-18] Bug 755412 - [UOA] Update OAuth flow according to Google documentation
- Date: Wed, 23 Sep 2015 13:39:41 +0000 (UTC)
commit e23e8c92911d177e2cdf184560163ad6e600794b
Author: Alberto Mardegan <mardy users sourceforge net>
Date: Wed Sep 23 15:38:16 2015 +0200
Bug 755412 - [UOA] Update OAuth flow according to Google documentation
While the existing parameters continue to work, Google is no longer
granting us a refresh token (which could be used to short-cut the
authentication and avoid loading a web view).
By following the latest documentation at
https://developers.google.com/identity/protocols/OAuth2InstalledApp
we change the application type to "Installed application" (this gives us
an additional pair of keys) and set the callback URI to
https://localhost/.
.../google-calendar.service.in.in | 6 +++---
.../google-contacts.service.in.in | 6 +++---
.../google-gmail.service.in.in | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/modules/ubuntu-online-accounts/google-calendar.service.in.in
b/modules/ubuntu-online-accounts/google-calendar.service.in.in
index 6f6f89b..5cafdad 100644
--- a/modules/ubuntu-online-accounts/google-calendar.service.in.in
+++ b/modules/ubuntu-online-accounts/google-calendar.service.in.in
@@ -14,9 +14,9 @@
<group name="web_server">
<setting name="Host">accounts.google.com</setting>
<setting name="TokenPath">o/oauth2/token</setting>
- <setting name="RedirectUri">https://live.gnome.org/Evolution</setting>
- <setting name="ClientId">796629365126.apps.googleusercontent.com</setting>
- <setting name="ClientSecret">3NbR94RM-DTnA81BWjiJe4TP</setting>
+ <setting name="RedirectUri">https://localhost/</setting>
+ <setting
name="ClientId">796629365126-a2o58ak3l6nuk9bto6sr5aoku0vh5enc.apps.googleusercontent.com</setting>
+ <setting name="ClientSecret">YVigZ5Po5p83_CrwQk-p5SwP</setting>
<setting type="as"
name="Scope">['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar']</setting>
</group>
</group>
diff --git a/modules/ubuntu-online-accounts/google-contacts.service.in.in
b/modules/ubuntu-online-accounts/google-contacts.service.in.in
index 8a77bd7..958638c 100644
--- a/modules/ubuntu-online-accounts/google-contacts.service.in.in
+++ b/modules/ubuntu-online-accounts/google-contacts.service.in.in
@@ -14,9 +14,9 @@
<group name="web_server">
<setting name="Host">accounts.google.com</setting>
<setting name="TokenPath">o/oauth2/token</setting>
- <setting name="RedirectUri">https://live.gnome.org/Evolution</setting>
- <setting name="ClientId">796629365126.apps.googleusercontent.com</setting>
- <setting name="ClientSecret">3NbR94RM-DTnA81BWjiJe4TP</setting>
+ <setting name="RedirectUri">https://localhost/</setting>
+ <setting
name="ClientId">796629365126-a2o58ak3l6nuk9bto6sr5aoku0vh5enc.apps.googleusercontent.com</setting>
+ <setting name="ClientSecret">YVigZ5Po5p83_CrwQk-p5SwP</setting>
<setting type="as"
name="Scope">['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar']</setting>
</group>
</group>
diff --git a/modules/ubuntu-online-accounts/google-gmail.service.in.in
b/modules/ubuntu-online-accounts/google-gmail.service.in.in
index 443d63f..ed5ad8a 100644
--- a/modules/ubuntu-online-accounts/google-gmail.service.in.in
+++ b/modules/ubuntu-online-accounts/google-gmail.service.in.in
@@ -14,9 +14,9 @@
<group name="web_server">
<setting name="Host">accounts.google.com</setting>
<setting name="TokenPath">o/oauth2/token</setting>
- <setting name="RedirectUri">https://live.gnome.org/Evolution</setting>
- <setting name="ClientId">796629365126.apps.googleusercontent.com</setting>
- <setting name="ClientSecret">3NbR94RM-DTnA81BWjiJe4TP</setting>
+ <setting name="RedirectUri">https://localhost/</setting>
+ <setting
name="ClientId">796629365126-a2o58ak3l6nuk9bto6sr5aoku0vh5enc.apps.googleusercontent.com</setting>
+ <setting name="ClientSecret">YVigZ5Po5p83_CrwQk-p5SwP</setting>
<setting type="as"
name="Scope">['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar']</setting>
</group>
</group>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]