Facebook and Google Social Login Not Working

This topic has 10 replies, 2 voices, and was last updated 1 months ago ago by WaawStore

  • Avatar: WaawStore
    WaawStore
    Participant
    May 31, 2025 at 12:32

    Hello XStore Support Team,

    I have enabled Facebook and Google social login on my WooCommerce-based site. The Facebook app is live, and the public_profile and email permissions are granted. I have added the correct redirect URI as instructed in your documentation.

    I configured the Facebook Redirect URI like this:

    https://***.com/hesabim//facebook/int_callback/

    When I click the Facebook login button:

    The login popup appears,

    I grant permissions,

    The browser redirects to this URL:
    https://***.com/?code=…

    However, the user is not logged in — they remain a guest.

    So, while the popup works and Facebook login seems successful, the user is not authenticated on the WordPress site.

    ‘ve cleared the cache and tested it in incognito mode — the problem persists. I would appreciate your help in resolving this issue.

    Thank you,

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 2, 2025 at 08:54

    Hello, WaawStore,

    Unfortunately, we are currently unable to log in to your website due to the enabled two-factor authentication. We kindly ask you to temporarily disable it and check whether this resolves the issue.

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: WaawStore
    WaawStore
    Participant
    June 2, 2025 at 10:52

    Hello Andrew,

    I’ve temporarily disabled the security plugins, including two-factor authentication.
    Could you please try logging in again?

    Let me know if you encounter any further issues.

    Best regards,
    Waaw Store

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 2, 2025 at 10:59

    Unfortunately, we are still encountering an error. It is possible that there is an active whitelist or IP blocking enabled on your server.

    Best regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: WaawStore
    WaawStore
    Participant
    June 2, 2025 at 11:05

    Hello Andrew,

    The .htaccess file has been reviewed and adjusted.
    Could you please try logging in again and let us know if the issue is resolved?

    Thank you for your assistance.

    Best regards,
    Waaw Store

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 3, 2025 at 08:08

    Hello, WaawStore,

    Unfortunately, the same issue with access has occurred again.

    Best regards,
    The 8Theme Team

    Avatar: WaawStore
    WaawStore
    Participant
    June 3, 2025 at 08:16

    Hello Andrew,

    Thank you for your feedback.

    Following the recurrence of the same access issue, I have reverted the .htaccess file back to the default settings for WordPress and WooCommerce. There are currently no security restrictions or access-limiting rules in place.

    Theme in use: XStore
    The PHP version is also specified manually within the .htaccess file as required.

    Could you please check again on your end? If the issue persists, I’d appreciate it if you could share more technical details.

    Best regards,
    Waaw Store

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 4, 2025 at 13:38

    Hello, WaawStore,

    Thank you for providing access. Upon investigation, we have identified that the issue is being caused by the Rank Math SEO and Rank Math SEO PRO plugins. These plugins intercept all incoming requests to your server and either modify or redirect them. As a result, data coming from platforms such as Facebook or Google is lost, which in turn leads to authentication errors.

    To address this, we have temporarily disabled the mentioned plugins. We kindly ask you to review and verify the changes on your end.

    Best regards,
    8Theme Team

    Avatar: WaawStore
    WaawStore
    Participant
    June 4, 2025 at 14:53

    Thank you for your support.

    Following your suggestion, we investigated the issue further and found that disabling the “Redirections” module in the Rank Math SEO Pro plugin resolved the problem. Once this module was turned off, both Google and Facebook login started working correctly again.

    It appears that the redirection module was interfering with the OAuth callback by altering or blocking essential parameters like code and state. Disabling it allowed the authentication flow to complete successfully.

    We appreciate your accurate guidance. This finding might also be helpful for other users facing similar issues.

    Best regards,
    Waaw Store

    Avatar: WaawStore
    WaawStore
    Participant
    June 4, 2025 at 14:54

    Thanks for the support! My topic “Facebook and Google Social Login Not Working” has been successfully resolved.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Facebook and Google Social Login Not Working’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.