首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >HybridAuth登录错误?

HybridAuth登录错误?
EN

Stack Overflow用户
提问于 2013-11-09 09:02:59
回答 2查看 2.1K关注 0票数 0

我正在使用HybridAuth作为我的网站登录。它适用于除facebook之外的所有东西。当我使用“登录facebook”时,它会返回一个错误:

代码语言:javascript
复制
Authentication error!

Authentication failed. The user has canceled the authentication or the provider refused the connection.

Original error message: Authentication failed! Facebook returned an invalid user id.

我已经禁用沙箱模式。有人能帮我理解这一点吗?我该怎么做?

我从facebook登录后点击了“登录facebook”按钮,

然后返回如下错误,即出现facebook登录页面。

代码语言:javascript
复制
Warning
The website directing you here was not a Facebook page. If you entered your Facebook login information on the previous site, you will need to reset your password.
Email:  
To learn more about staying safe on the internet, visit our Security Page. You can also check out the phishing Wikipedia article.
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-11-16 07:40:48

这是因为我的托管提供商(免费托管提供商)不允许HybridAuth与facebook通信。但是我搬到付费托管,问题解决了!

希望这对某人有帮助。

票数 1
EN

Stack Overflow用户

发布于 2017-06-14 10:20:18

如果使用代码点火器,则需要在apps\third_party\hybridauth\Hybrid\thirdparty\Facebook文件夹中找到base_facebook.php文件。

找到这一行:$response_params =$response_params $response_params);

并将其替换为:$response_params =$response_params true);

希望你的代码能起作用。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19874203

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档