【发布时间】:2015-11-12 23:03:21
【问题描述】:
我正在尝试将“Google Identity Toolkit”与“教程”android 演示应用程序一起使用,但现在出现此错误:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed."
}
}
有什么想法吗?在 Google 控制台中,我需要允许一些事情吗?在哪里?
OAuth 2.0 客户端 ID:
安卓,
网络应用
在 Identity Toolkit API 控制台上,它允许我在 Google 提供商中选择“Web 应用程序”客户端 ID。
我已经在我的“教程”应用中设置了这个
【问题讨论】:
-
我投票决定将此问题作为离题结束,因为它与 API 配置有关,而不是开发问题。
标签: android google-identity-toolkit