Zed*_*Zed 2 web firebase firebase-authentication
我将Firebase Auth用于网站,并选择了密码验证和Google登录。当我运行它时,我得到以下信息:
{"error":{"code":403,"message":"Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked.","errors":[{"message":"Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignUp are blocked.","domain":"global","reason":"forbidden"}],"status":"PERMISSION_DENIED"}}
我已经从Firebase控制台启用了密码和Google登录,并且还在Google Cloud Platform控制台中启用了Identity Toolkit API,但是仍然出现此错误。
小智 16
就我而言,apiKey在Angular的环境文件中,只允许使用我限制的几个Google Cloud API。
apiKeyFirebase项目概述中提供的API密钥,单击它并进入选项卡API限制。由@Marco Maccio 执导
我去了https://console.cloud.google.com,选择了项目
(same as the Firebase project of course)
然后 API 和服务 > 凭证。在 API 密钥列表中,
I looked for the same API key given in the project overview of Firebase,
Run Code Online (Sandbox Code Playgroud)
单击它,然后转到选项卡 API 限制。通过选择框,我将 Identity Toolkit API 添加到允许的 API 列表中。
或者让它不限制键
| 归档时间: |
|
| 查看次数: |
1548 次 |
| 最近记录: |