简体   繁体   English

验证失败! Facebook在Yith社交登录wordpress上返回了无效的用户ID

[英]Authentication failed! Facebook returned an invalid user id on Yith social login wordpress

Anyone can help me to solve this problem? 有人可以帮助我解决这个问题吗? I am using yith woocommerce social login plugin on my wordpress. 我在我的wordpress上使用ithith woocommerce社交登录插件。 I tried to implement login via facebook and g+. 我试图通过facebook和g +实现登录。 While using g+ login it's successfully work, but while using facebook there is no response and my page just reload my page and append this 使用g +登录时,它可以成功运行,但是使用Facebook时,没有任何响应,我的页面只需重新加载我的页面并附加此内容即可

#_=_

character into my url. 字符输入我的网址。

plugins/yith-woocommerce-social-login/logs/log.txt show report below plugins / yith-woocommerce-social-login / logs / log.txt在下面显示报告

Hybrid_Auth initialize: A stored Error found, Throw an new Exception and delete it from the store: Error#5, 'Authentication failed! Hybrid_Auth初始化:找到一个存储的错误,抛出一个新的异常并将其从存储中删除:错误#5,“验证失败! Facebook returned an invalid user id.' Facebook返回了无效的用户ID。” -- -

wp_content/debug.log show report below wp_content / debug.log在下面显示报告

PHP Fatal error: Call to a member function authenticate() on null in /wp-content/plugins/yith-woocommerce-social-login/includes/class-yith-social-login.php on line 156 PHP致命错误:在第156行的/wp-content/plugins/yith-woocommerce-social-login/includes/class-yith-social-login.php中,对成员函数authenticate()的调用为null

I had the same problem. 我有同样的问题。 I solve it by changing these lines: 我通过更改这些行来解决它:

\\wp-content\\plugins\\yith-woocommerce-social-login\\includes\\hybridauth\\Hybrid\\Providers\\Facebook.php: 27 \\ wp-content \\ plugins \\ yith-woocommerce-social-login \\ includes \\ hybridauth \\ Hybrid \\ Providers \\ Facebook.php: 27

public $scope = ['email'];

and

\\wp-content\\plugins\\yith-woocommerce-social-login\\includes\\hybridauth\\Hybrid\\Providers\\Facebook.php: 85 \\ wp-content \\ plugins \\ yith-woocommerce-social-login \\ includes \\ hybridauth \\ Hybrid \\ Providers \\ Facebook.php: 85

$accessToken = $helper->getAccessToken("https://[your-domain]/wp-content/plugins/yith-woocommerce-social-login/includes/hybridauth/?hauth_done=Facebook");

And

https://[your-domain]/wp-content/plugins/yith-woocommerce-social-login/includes/hybridauth/?hauth_done=Facebook must be registered in Valid OAuth Redirect URIs in FB administration https:// [您的域] / wp-content / plugins / yith-woocommerce-social-login / includes / hybridauth /?hauth_done = Facebook必须在FB管理中的有效OAuth重定向URI中注册

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

相关问题 Hybridauth身份验证失败! Facebook返回了无效的用户ID - Hybridauth Authentication failed! Facebook returned an invalid user id octoberCMS中的flynsarmy-sociallogin(Facebook api)-身份验证失败! Facebook返回了无效的用户ID - flynsarmy-sociallogin (Facebook api) in octoberCMS - Authentication failed! Facebook returned an invalid user id HybridAuth Facebook返回了无效的用户ID - HybridAuth Facebook returned an invalid user id Hybridauth - PHP - Facebook返回了无效的用户ID - Hybridauth - PHP - Facebook returned an invalid user id 为什么当我尝试在 wordpress 中使用社交登录 facebook 时,谷歌浏览器返回旧的 facebook app_id? - Why google chrome return old facebook app_id when i try to social login facebook in wordpress? 以Wordpress用户身份登录Facebook用户 - Login Facebook user as Wordpress user HybridAuth:身份验证失败! LinkedIn返回了无效的令牌 - HybridAuth: Authentication failed! LinkedIn returned an invalid Token Facebook社交登录获取用户名,电子邮件,电话 - Facebook social login get user name, email, phone 没有Facebook用户ID返回。 为什么? - No Facebook User ID returned. Why? 如何解决用户个人资料请求在Google社交登录中失败 - How to solve User profile request failed in Google social login
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM