Plugin Support
Laszlo
(@laszloszalvak)
Hi @aklibaba77
I checked the social login on the linked page and as I see the problem is related to your WordPress membership setting.
Currently when I try to connect with the Facebook social button, it displays the following error:
“No se permite el registro de nuevos usuarios.”
By default Nextend Social Login inherits the WordPress membership settings from WordPress side bar > Settings > General > Membership – Membership Anyone can register. Since you have this option disabled, the registration will also be disabled with social login.
How to fix it:
If you would like to enable the registration with Nextend Social Login, regardless of your WordPress settings, then you should go to Nextend Social Login > Global Settings > General tab > Membership and change it to Enabled
https://nextendweb.com/nextend-social-login-docs/global-settings/
Let me know if you would still see the problem after that!
Best regards,
Laszlo.
Hi I followed these instructions:
Nextend Social Login > Global Settings > General tab > Membership -> enable.
I am still getting the same behaviour. After using facebook login the page starts reloading, for a moment shows title in tab “Error en la identifiación”, then redirects to standard wordpress login page.
I had the same settings on my test environment (troovix.alexmoloni.com) and everything worked fine.
Waiting to hear from you
Plugin Support
Laszlo
(@laszloszalvak)
Hi @aklibaba77
I checked your site again, and this time both the registration and the login worked fine with my test Facebook account.
Could you check please if this problem also occurs with:
-another Facebook account that, is not registered on your WordPress site, yet?
-another provider like Google or Twitter?
If the problem only happens with that Facebook account exclusively, then is it possible you used multiple Facebook Apps with Nextend Social Login? Since Facebook doesn’t provide the real user id of the user, but instead an App Scoped User Id, which differs in each Facebook App.
This means that the same Facebook account have different User ID in App1 than in App2. When you link a social account to a WordPress account, this user ID is stored as a link. So if you registered an account with App1 but later you reconfigured Nextend Social Login with the credentials of App2. Then the stored user ID won’t match with the user ID that App2 provides, meaning that you won’t be able to login to that account.
If the problem is actually related to this, then you will need to either:
-change back to your previous App
-or Unlink the Facebook account from your WordPress account. Unlink buttons are displayed only for the logged in users, and only if you use the shortcode with the unlink parameter:
https://nextendweb.com/nextend-social-login-docs/theme-developer/#shortcode
Great thanks. Indeed I had a nother Facebook App created for the test site. I unlinked the facebook accounts using the unlink button (I used this code to generate it: “echo NextendSocialLogin::renderLinkAndUnlinkButtons();”.
After unlinking, the facebook login started working fine again.
Thank you very much for your help
Plugin Support
Laszlo
(@laszloszalvak)
Hi @aklibaba77
Thanks for letting us know that the problem was actually related to a previous Facebook App.
I am glad the unlink-ing method fixed the problem!