简体   繁体   English

Hybridauth身份验证失败! Facebook返回了无效的用户ID

[英]Hybridauth Authentication failed! Facebook returned an invalid user id

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 我正在使用Hybridauth库在我的网站上创建一个带有facebook链接的注册我创建并测试了localhost中的代码,一切都运行得很好但是当把所有内容都移到服务器上时它没有用,并且给了我这个错误Authentication failed! Facebook returned an invalid user id Authentication failed! Facebook returned an invalid user id i searched a lot on the internet for a solution but none of them worked Authentication failed! Facebook returned an invalid user id我在互联网上搜索了很多解决方案,但没有一个有用

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 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 我发现我的服务器不支持ssl所以我重新编译了apache,安装了OpenSSl,从cpanel开始,一切都运行完美

Check your HybridAuth config.php file for the base URL. 检查HybridAuth config.php文件以获取基本URL。 I faced a similar issue. 我遇到了类似的问题。 It should point to the correct path where the config.php resides. 它应该指向config.php所在的正确路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Hybridauth - PHP - Facebook返回了无效的用户ID - Hybridauth - PHP - Facebook returned an invalid user id HybridAuth Facebook返回了无效的用户ID - HybridAuth Facebook returned an invalid user id HybridAuth:身份验证失败! LinkedIn返回了无效的令牌 - HybridAuth: Authentication failed! LinkedIn returned an invalid Token octoberCMS中的flynsarmy-sociallogin(Facebook api)-身份验证失败! Facebook返回了无效的用户ID - flynsarmy-sociallogin (Facebook api) in octoberCMS - Authentication failed! Facebook returned an invalid user id 验证失败! Facebook在Yith社交登录wordpress上返回了无效的用户ID - Authentication failed! Facebook returned an invalid user id on Yith social login wordpress HybridAuth Facebook-“更新用户状态失败!” - HybridAuth Facebook - 'Update user status failed!' HybridAuth / PHP Facebook SDK身份验证失败(getUser返回0) - HybridAuth / PHP Facebook SDK authentication failed (getUser returns 0) 在Facebook身份验证中使用Yii的HybridAuth重定向循环 - HybridAuth redirect loop with Yii in facebook authentication PHP HybridAuth身份验证失败-重定向错误 - PHP HybridAuth Authentication failed - wrong redirect 没有Facebook用户ID返回。 为什么? - No Facebook User ID returned. Why?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM