Google+ is being deprecated. The chrome.identity example: https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/identity#readme Is using scope: https://www.googleapis.com/auth/plus.login And API: https://www.googleapis.com/plus/v1/people/me This example is linked from the official website here as the "identity sample": https://developer.chrome.com/apps/app_identity These should be updated to stop using Google+.
Mihai is going to look at which API should be used to replace the Google+ call. Francois: would you be able to update the extension once we know how to fix it?
You could use what is used in Chrome to fetch the user info: * scopes: https://www.googleapis.com/auth/userinfo.profile * API URL: https://www.googleapis.com/oauth2/v1/userinfo Code that does this in Chrome: * https://cs.chromium.org/chromium/src/components/signin/core/browser/account_info_fetcher.cc?rcl=3c58a47bd3920f3240020ce4e390259c2929288a&l=34 * https://cs.chromium.org/chromium/src/google_apis/gaia/gaia_oauth_client.cc?rcl=eaa4e6cf4c68f7bd5833a3120d32e55286014874&l=300
GitHub PR is available at https://github.com/GoogleChrome/chrome-app-samples/pull/491 Once it is approved and merged, I'll update and publishe WebStore item.
https://chrome.google.com/webstore/detail/identity-api-sample/oficlfehfenioickohognhdhmmcpceil has been updated with this change: https://github.com/GoogleChrome/chrome-app-samples/commit/25563e94181c1c4fa72138e3ae9d9288a44a6efb
Comment 1 by droger@chromium.org
, Jan 17 (5 days ago)