【发布时间】:2014-03-30 21:00:27
【问题描述】:
我无法在 Google API 控制台中将新的“电子邮件”范围添加到 Google Apps Marketplace SDK。此范围应该替换已折旧的https://www.googleapis.com/auth/userinfo.email 范围(如https://developers.google.com/+/api/oauth#email 中所述)。我应该怎么做才能确保未来的兼容性?
【问题讨论】:
我无法在 Google API 控制台中将新的“电子邮件”范围添加到 Google Apps Marketplace SDK。此范围应该替换已折旧的https://www.googleapis.com/auth/userinfo.email 范围(如https://developers.google.com/+/api/oauth#email 中所述)。我应该怎么做才能确保未来的兼容性?
【问题讨论】:
email 和 profile 在功能上分别等同于 userinfo.email 和 userinfo.profile。他们甚至在后端共享一个映射。您现在可以在您的代码中安全地使用电子邮件和个人资料,而不必担心将来迁移。
【讨论】: