gpt4 book ai didi

drupal-7 - 错误 : Drupal 7 HybridAuth Social Login

转载 作者:行者123 更新时间:2023-12-01 23:52:54 26 4
gpt4 key购买 nike

我安装了 drupal 7 hybridauth https://www.drupal.org/project/hybridauth .我为 Google、Facebook、Twitter 和 LinkedIn 配置了模块。除了谷歌,他们都运作良好。根据 HybridAuth 模块说明,我去了 https://code.google.com/apis/console#access .然后我使用“创建新的客户端 ID”按钮创建了应用程序并设置了我为其他社交登录所做的所有信息。

之后,我尝试使用 google auth 链接登录,但他们显示错误“处理您的请求时出错!”。我在谷歌上搜索了更多时间。但我无法解决这个问题。

然后我去查看我的 drupal 站点的日志。我发现了以下错误信息 -

位置: DOMAIN-COM/drupalsocialauth/hybridauth/window/Google?destination=node&destination_error=node

消息:异常:用户配置文件请求失败! Google 返回无效响应。在 ** Hybrid_Providers_Google->getUserProfile()(/home/pydream/public_html/drupalsocialauth/sites/all/libraries/hybridauth/hybridauth/Hybrid/Providers/Google.php 的第 87 行)。

你能帮我解决一下吗?

谢谢你的时间。

最佳答案

感谢这里的最后一条评论,我解决了这个问题:https://groups.google.com/forum/#!topic/hybridauth/dNSUDyWpc5w

在您的项目下 https://code.google.com/apis/console#access

API 和授权->API启用:通讯录 API 和 Google+ API

API 和授权->同意屏幕确保完成同意屏幕并保存

链接: https://www.drupal.org/node/2339085#comment-9152359

关于drupal-7 - 错误 : Drupal 7 HybridAuth Social Login,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25643653/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com