Hybridauth身份验证失败! Facebook返回了无效的用户ID [英] Hybridauth Authentication failed! Facebook returned an invalid user id

查看:82
本文介绍了Hybridauth身份验证失败! Facebook返回了无效的用户ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Hybridauth库在我的网站中创建带有Facebook链接的注册,我在localhost中创建并测试了代码,一切正常,但是当将所有内容移至服务器时均不起作用,并给了我这个错误我在互联网上搜索了很多解决方案,但没有一个可行的

我尝试了此链接中建议的所有解决方案:

那么您能帮我解决这个问题吗?

需要任何其他信息,只需在评论中提出要求,并在此先感谢

解决方案

使用此文件测试服务器后

https://github.com/mistergiri/hybridauth/commit/0989180a863c89d9491cdf1543f56d6 /p>

我发现我的服务器不支持ssl,因此我使用cpanel安装的OpenSSl重新编译了apache,一切运行正常

I'm using Hybridauth library to create a signup with facebook link in my website i created and tested the code in localhost and everything worked perfectly but when moved everything to the server it didn't work and gave me this error Authentication failed! Facebook returned an invalid user id i searched a lot on the internet for a solution but none of them worked

I tried all solutions suggested in this links:

So can you help me fix this problem please?

Any additional information needed just ask for them in the comments and thanks in advance

解决方案

After testing my server with this file

https://github.com/mistergiri/hybridauth/commit/0989180a863c89d9491cdf1543f56d6f8a34057a

i found that my server doesn't support ssl so i recompiled apache with OpenSSl installed form cpanel and everything worked perfectly

这篇关于Hybridauth身份验证失败! Facebook返回了无效的用户ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆