如何从 OAuth 同意屏幕中删除 plus.me

How to remove plus.me from OAuth consent screen

今天我收到了来自 Google 的电子邮件,声称我的项目使用了来自 Google+ API 的一个范围 plus.me,它将被关闭。 我已经在我的应用中使用新的 OAuth 2.0 Google Drive API 用法。并试图找到它使用 Google+ 范围的位置。 此范围存在的唯一位置是 Google API 控制台中的 "OAuth consent screen"。 但是没有 "Delete" 按钮。所以我想知道如何删除它?我担心关闭 Google+ 我对 OAuth 2.0 的请求可能会被拒绝:(

哇!今天从 Google 得到澄清,主题是“[更正] Google+ API 将于 2019 年 3 月 7 日关闭”。

Earlier this week we sent you an email related to your projects that will be impacted by the Google+ API shutdown, which also affects requests for Google+ OAuth scopes.

The email listed that one or more of your projects are requesting the “plus.me” scope, and would thus be affected. We would like to clarify that only projects directly requesting the “plus.me” scope are affected. This scope may have been listed in some emails, even if not directly requested by your project. We apologize for any confusion caused.

If you are directly requesting the “plus.me” scope, any other Google+ OAuth scopes, or making any Google+ API calls, please ensure that you remove these requests from your project before March 7, 2019.

To see if your project is directly requesting the “plus.me” or any other Google+ OAuth scopes:

If your project is written in Google Apps Script, you can view which scopes your project is requesting by reviewing your project properties in App Script Editor. If your project is not written in Google Apps Script, please check your code for references to “plus.me” in OAuth scope requests. We recommend that you review projects using any 3rd-party libraries that support sign-in or social functionality, as these may also be affected by the shutdown.

看来我们不应该再担心 plus.me 项了。如果我们使用它,只需从代码中删除这个范围。