• Resolved Jam

    (@dabert3)


    Hi

    There’s an issue on Facebook oAuth tab (except Google). It supposed close the Facebook oAuth tab once success submit and “Authentication successful” where the register page but it didn’t. As you can see in these images https://prntscr.com/11c49yr & https://prntscr.com/11c4blj. This happen sometimes even in login. I tried reinstall the plugin and set up new “Create Facebook App” but still the have an issue.

    Regards,
    Jam

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi Jam!

    These kind of problems usually occur when third party plugins / codes run redirect codes before we could run our own codes. So what I would suggest first is going to our Global Settings > General tab:
    https://nextendweb.com/nextend-social-login-docs/global-settings/
    and there you should enable the “Prevent external redirect overrides – Disable external redirects” option.

    If you see the problem occur even after that, then could you tell me please if you also see this problem occur on the default login page ( /wp-login.php )?
    Since I checked the login there with Facebook many times and it worked fine for me.

    However on the /register page I can see that you did some custom coding to modify the behavio of Nextend Social Login, as the social buttons doesn’t point to the authentication URL of the providers, but they all point to the /register page.
    So please remove the custom codes that added to modify Nextend Social Login and check if that fixes the problem.

    Note: Also I noticed that sometimes your /register page is not accessible as it redirects with a 409 error back to the same URL always. ( As I saw that seems to happen until there is an existing humans_x cookie set. )

    Best regards,
    Laszlo.

    Thread Starter Jam

    (@dabert3)

    Thanks for the response @laszloszalvak

    Yes I did some custom on /register page. I just hide the original button(the auth URL of the providers are still there) and made a custom button https://prntscr.com/11c764g. There’s a script click event to click the original button once done/submit in popup “additional info”. This happened also in /login page https://prntscr.com/11c6l5a (I haven’t added custom except your hooks nsl_registration_user_data to redirect back to login if they’re trying to register on this page).

    Okay will try that setting and observe. I’ll let you know.

    Thanks for the note. I haven’t experienced it but will check on that.

    Regards,
    jam

    Thread Starter Jam

    (@dabert3)

    Hi

    I did some tests and still have issue (check image) https://prntscr.com/11dkupk. I remove nsl hooks I used and I already enable “Prevent external redirect overrides – Disable external redirects” option https://prntscr.com/11dl1d6 before testing though. Just to let you know in /wp-login.php page don’t have custom code in it.

    Regards,
    Jam

    Plugin Support Laszlo

    (@laszloszalvak)

    Hi @dabert3

    Now I can see this problem occur on your /wp-login.php page, too.

    What I also noticed is that, even when the login is fine your site still returns the logged out state and need to refresh the page to see the logged in state.
    These kind of problems usually caused by caching, specifically the cache-control header.

    So to find out if the caching has any relationship to these problems, what I would suggest next is disabling your caching plugin: “WP Fastest Cache” and “Cloudflare”. Then you should check if these problems still occur.
    If they don’t then you could enable one of them at a time and see if that makes any difference.

    If the problem occurs even if WP Fastest Cache and Cloudflare are disabled then please leave them disabled, and get in touch with us over the ticket system:

    and we will make some tests on your site.

    Best regards,
    Laszlo.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Facebook oAuth new tab issue’ is closed to new replies.