我正在尝试将 Google 登录集成到我的网站中..
我正在关注这个例子:
https://developers.google.com/identity/sign-in/web/
我为我的项目生成了客户端 ID 并在上面的代码中替换了它,但我不断收到此错误:
- That’s an error.
Error: invalid_request
Permission denied to generate login hint for target domain.
最佳答案
我在进行本地开发时遇到了这个问题。确保在本地运行项目时启动“http://localhost”而不是“http://127.0.0.1”、“http://0.0.0.0”等...
关于login - Google 登录网站错误 : Permission denied to generate login hint for target domain,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32041418/