evil
March 29, 2017, 12:00am
1
Hi all ,
I have added Login with facebook button in my store.
It was working properly before but now it is not .
I am getting error :
Error Authentication failed. The user has canceled the authentication or the provider refused the connection
how can I solve this error? :confused:
Please help.
Screenshot_1.png
Hi all ,
I have added Login with facebook button in my store.
It was working properly before but now it is not .
I am getting error :
Error Authentication failed. The user has canceled the authentication or the provider refused the connection
how can I solve this error? :confused:
Please help.
CS-Cart uses outdated Facebook API. They know about this issue and working on it.
evil
March 30, 2017, 12:00am
3
CS-Cart uses outdated Facebook API. They know about this issue and working on it.
How much time it will take ???
any idea?
Thank you..!
How much time it will take ???
any idea?
Thank you..!
I do not know. Please contact CS-Cart support team
evil
March 30, 2017, 12:00am
5
I do know. Please contact CS-Cart support team
Ok..
Thanks for your reply.. :rolleyes:
evil
March 30, 2017, 12:00am
7
The error is almost comes in all versions.
i have this error too! i hope will be solved fast
i have this error too! i hope will be solved fast,my version is Multi-Vendor 4.3.7
For some reason mine is not even showing the Facebook option for social login.
I have uninstalled the social add on and reinstalled and still get the same result.
Please make sure that Facebook exists in the following scheme
app/addons/hybrid_auth/schemas/hybrid_auth/providers.php
Also check permissions of the following file
app/addons/hybrid_auth/Tygh/HybridProvidersFacebookNewScope.php
Please make sure that Facebook exists in the following scheme
app/addons/hybrid_auth/schemas/hybrid_auth/providers.php
Also check permissions of the following file
app/addons/hybrid_auth/Tygh/HybridProvidersFacebookNewScope.php
I checked and have that file providers.php.
I tried replacing both of them with a new one and the permissions on HybridProvidersFacebookNewScope.php are 644
Still not showing up. I have uninstalled and cleared cache and then installed social login and same result.
I did notice at the bottom of the providers.php showed this I am wondering if this is the issue.
I did remove this code and it showed up. But I may have an unsupported version of php.
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
unset($schema['facebook']);
I did see an option in my hosting to update to php 5.4 so I just started that and will see if that fixes the issue.
Thanks again.
Scott
FYI, As soon as I updated the site to PHP 5.4 facebook started working. My hosting default was 5.3.
Thanks @eComLabs for your help.
Scott
FYI, As soon as I updated the site to PHP 5.4 facebook started looking. My hosting default was 5.3.
Thanks @eComLabs for your help.
Scott
Thank you for keeping us updated. Hope it will help someone else
guig
April 25, 2017, 12:00am
16
Hello,
I had the same error.
I solved it replacing this code :
$response_params = array();
parse_str($access_token_response, $response_params);
if (!isset($response_params['access_token'])) {
return false;
}
return $response_params['access_token'];
by this :
$response = json_decode($access_token_response);
if (!isset($response->access_token)) {
return false;
}
return $response->access_token;
in /app/addons/hybrid_auth/lib/Hybrid/thirdparty/base_facebook.php
I have also an error with Google login :
Error User profile request failed! Google returned an invalid response.
evil
May 11, 2017, 12:00am
18
Hello,
I had the same error.
I solved it replacing this code :
$response_params = array();
parse_str($access_token_response, $response_params);
if (!isset($response_params['access_token'])) {
return false;
}
return $response_params['access_token'];
by this :
$response = json_decode($access_token_response);
if (!isset($response->access_token)) {
return false;
}
return $response->access_token;
in /app/addons/hybrid_auth/lib/Hybrid/thirdparty/base_facebook.php
I have also an error with Google login :
Error [font=Open Sans][size=3] [/size][/font] [font=Open Sans][size=3]User profile request failed! Google returned an invalid response. [/size][/font]
Try to change theme.php with new one
app/tygh/themes/theme.php