我想使用 Google Identity Toolkit API 来识别网站的用户。
我制作的示例程序没有问题,但是当尝试将它推送到远程 Web 服务器上时它不起作用。
我做了一个新项目(所以我有服务器、客户端和 apikey 的新凭据)。
我对 PHP 和 JSON 文件进行了所有修改,但是当我尝试登录时,我得到: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
我不明白在哪里指定了引用者,因为 aipkey 是在您更改 API 配置时自动生成的,并且在 API 配置中没有引用者或 ip 指示。
我在哪里做错了?