Google OAuth,只获取email,不获取plus相关数据

Google OAuth, get only email and no plus related data

当我的应用程序使用他们的 google 帐户对用户进行身份验证时,我使用范围作为 "email",但出于某种原因,google 仍然告诉他们我的应用程序可以看到 [=14] =].有没有办法避免这种情况?

您无法更改身份验证屏幕的方式。它根据您发送的范围显示它的作用。

请确保您只发送范围 https://www.googleapis.com/auth/userinfo.email。如果是,那么可能是 https://www.googleapis.com/auth/userinfo.email 自动包含权限 https://www.googleapis.com/auth/plus.me,但我在 documentation 中没有看到任何说明这一点的内容。我将不得不测试。