• Resolved kisonay

    (@kisonay)


    I’m trying to set up the plugin to use google login. During verification, it directs me to the google page, I login and then it send me back to the site but a 404 is shown and it didnt verify.

    Any ideas on the cause?

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

    (@laszloszalvak)

    Hi @kisonay

    Please check if the verification works fine with other providers, like Facebook.
    If the problem also happens with other providers, then the problem will be related to that the /wp-login.php page is not available. By default the OAuth flow is handled over this page.
    So in this case you need to create a new, empty page then select it as “OAuth redirect uri proxy page” at Nextend Social Login>Global Settings>General tab:
    https://nextendweb.com/nextend-social-login-docs/global-settings/
    This will modify the redirect uri, but Nextend Social Login will also warn you about that with the steps to fix the problem. ( Basically you will need to insert the new redirect uri to each of the configured Apps ).
    Once everything is done, the OAuth flow will be handled by the page that you selected as “OAuth redirect uri proxy page”.

    If the problem only happens with Google:
    Then your server or your firewall has a setting that doesn’t allow HTTP and HTTPS links (that Google returns as scopes) in the URL. Usually the problem is related to a ModSecurity setting that doesn’t allow these URLs.
    So you or your host will need to allow these URLs as you see here:
    https://nextendweb.com/nextend-social-login-docs/google-403-and-404-errors/#fix

    Best regard,
    Laszlo.

    Thread Starter kisonay

    (@kisonay)

    The issue was Mod Security. Thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google redirects to a 404’ is closed to new replies.