From 18612bf771d5ad405842dff5942e6a25bd33dfdc Mon Sep 17 00:00:00 2001 From: Eli Yukelzon Date: Sun, 19 May 2019 10:31:29 +0300 Subject: [PATCH] MM-14874 - Google SSO: Migrate user API endpoint from Google+ API to People API (#10833) --- config/default.json | 2 +- tests/test-config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/default.json b/config/default.json index 2cb17ad78d..def18c8ea3 100644 --- a/config/default.json +++ b/config/default.json @@ -265,7 +265,7 @@ "Scope": "profile email", "AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth", "TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token", - "UserApiEndpoint": "https://www.googleapis.com/plus/v1/people/me" + "UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata" }, "Office365Settings": { "Enable": false, diff --git a/tests/test-config.json b/tests/test-config.json index d70d091eb5..ddd7836d75 100644 --- a/tests/test-config.json +++ b/tests/test-config.json @@ -235,7 +235,7 @@ "Scope": "profile email", "AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth", "TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token", - "UserApiEndpoint": "https://www.googleapis.com/plus/v1/people/me" + "UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata" }, "Office365Settings": { "Enable": false,