Google Login Redirect Issue on XStore Theme

5 replies2 participantsUpdated by Andrew Mitchell

  • Avatar: Saiful Islam Khan
    Saiful Islam Khan
    Participant

    Hello XStore Support Team,

    I am currently facing an issue with the built-in Google login on my XStore-powered website (https://dooari.com.bd).

    Here’s the problem:
    – When I set the authorized redirect URI in Google Cloud Console as https://dooari.com.bd/my-account//google/oauth2callback (with double slash), I can select a Google account, but after selecting, the login does not complete — it just redirects back without logging in.
    – If I set the redirect URI as https://dooari.com.bd/my-account/google/oauth2callback (with a single slash), I get a “400 redirect_uri_mismatch” error from Google.
    – I also tried https://dooari.com.bd/my-account/?etheme_authorize=google as mentioned in some guides, but this also results in a redirect_uri_mismatch.

    Steps I have already tried:
    1. Verified HTTPS and site URL in WordPress.
    2. Cleared all caches and re-saved permalinks.
    3. Applied code snippets to fix trailing slashes.
    4. Added all possible redirect URIs to Google Cloud Console.

    None of these worked. It seems the theme is sending a URL with double slashes, which Google accepts but WordPress fails to process correctly after login.

    Could you please provide:
    – The **correct Google OAuth redirect URI** that XStore requires (for my-account page)?
    – Any known fixes for this double-slash login issue?
    – Guidance if I need to update any theme files or settings.

    Website: https://dooari.com.bd
    Theme: XStore 9.5.2
    Looking forward to your assistance.
    Thank you.

    Best regards,
    Saiful Islam Khan

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.

    5 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Saiful Islam Khan,

    In addition to access to the admin panel, we kindly request FTP access as well. Could you please provide us with the necessary FTP credentials?

    Best regards,
    The 8Theme Team

    Avatar: Saiful Islam Khan
    Saiful Islam Khan
    Participant

    Hello 8Theme Team,

    Thank you for your message. I’ve already shared the admin panel access with you. For security reasons, we prefer not to provide direct FTP access. However, if you need any specific files or modifications, please let me know, and I’ll handle them promptly.

    Best regards,
    Saiful Islam Khan

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Saiful Islam Khan,

    Thank you for providing access. In order to resolve the reported issue, we have made the necessary changes in the following file:

    plugins/et-core-plugin/app/controllers/authorize.php

    Please note that these fixes will also be included in the upcoming update.

    Best regards,
    8Theme Team

    Avatar: Saiful Islam Khan
    Saiful Islam Khan
    Participant

    Dear 8Theme Support Team,

    Thank you for your recent update and for applying the fix in plugins/et-core-plugin/app/controllers/authorize.php.

    However, I would like to inform you that the Google login is still not working on my website. When I attempt to sign in using Google, I receive the following error message:

    “Can’t login with Google. Please, try again later.”

    I have attached a screenshot for your reference.

    Could you please take another look or advise if there are any further steps I need to take on my end (e.g., console settings, plugin updates, or cache clearing)?

    Looking forward to your support.

    Best regards,
    Saiful Islam Khan
    https://dooari.com.bd/

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Saiful Islam Khan,

    Thank you for providing access. We have made some updates—please review the files we have added.

    Best regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register