Hi @sergiom87
I checked TranslatePress on my local test site and I enabled its “Use a subdirectory for the default language” setting, so the language code will appear in the url. Then I checked the login with social login both on the main language and on the other languages and it worked fine for me.
A possible reason:
However recently we received a report about a similar problem, where a person also used TranslatePress and also another pluginto change the URL of the /wp-login.php page. And there seem to be a conflict between them, as that will make WordPress return the new slug of the /wp-login.php page but coming from subfolder of your language, where it won’t be available, which will return a 404 error.
This means, when we try to handle our codes over the new /wp-login.php page, the page will return a 404 error so we won’t be able to start our codes at all.
A possible fix:
What I would suggest is making Nextend Social Login handle its codes over a page other than the /wp-login.php. For that you should use our “Page for register flow” and “OAuth redirect uri proxy page” settings, which can be found at our Global Settings > General tab: https://nextendweb.com/nextend-social-login-docs/global-settings/
For the “Page for register flow” setting: you should create a completely new page and add the following shortcode to it:
[nextend_social_login_register_flow]
then save the page and select it as Page for register flow. Extra information before the registration, like Terms and Conditions will be asked on this page.
For the “OAuth redirect uri proxy page” setting: you should create another new and empty page, then select it as OAuth redirect uri proxy page. We will handle the OAuth flow over this page.
Important: Once you select a page for “OAuth redirect uri proxy page”, it will modify the redirect URLs of the providers ( since the OAuth flow will be handled over the new page ), so don’t forget to add the new redirect uri to each of your configured Apps. Nextend Social Login will also warn you about this with a message, where you will see all the steps, but you can also find the modified redirect urls in the Getting Started section of the providers.
If you still see the problem occur even after using these two settings, then please get in touch with us directly over the ticket system:
https://nextendweb.com/contact-us/nextend-social-login-support/?ref=https://www.ads-software.com/support/topic/translatepress-and-nextend/
Best regards,
Laszlo.