On mobile devices, Oneall creates a user with the name "UnknownUserXYZ" and logs in the user when canceling the Facebook prompt on our Drupal 8 page https://www.disclose.tv
What is wrong here? Why is the login not canceled?
The update has been added to social_login 8.x-2.85
https://www.drupal.org/project/social_login/releases
Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
We use the plugin version 2.8.3 currently
Anyone?
Hi Uwe,
I think that we have identified the issue.
Please open this file in your Drupal folder:
modules/social-login/src/Controller/SocialLoginController.php
Then replace this line:
if (is_array($social_data) && isset($social_data['response']) && isset($social_data['response']['request']['status']['code']))
by this line (request becomes result):
if (is_array($social_data) && isset($social_data['response']) && isset($social_data['response']['result']['status']['code']))
And this line:
if ($social_data['response']['request']['status']['code'] == 200)
by this line (request becomes result):
if ($social_data['response']['result']['status']['code'] == 200)
This should fix the issue. We will also release a fixed version within a few days.
Regards,