• Resolved rscarter1

    (@rscarter1)


    How can I stop the sign in with Google button from redirecting to the login page? Instead os specifying any redirect, I want the same page the user is already on to load.

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

    (@robertnextendweb)

    Hi @rscarter1

    Actually, what you are looking for to happen is the default behavior in Nextend Social Login. By default, we try to redirect the user back to the page where the button was pressed. So if you are being redirected to a login page, that can either be because of our “Fixed redirect url” setting:
    https://nextendweb.com/nextend-social-login-docs/global-settings/#fixed-redirect-url
    which intercepts the default behavior and redirects the user to the specified URL, or you are using a custom HTML button with a custom redirect parameter, which overrides the default behavior as well.

    Or there is a 3rd party that does this. From our side you could try enabling the “Prevent external redirect overrides” option:
    https://nextendweb.com/nextend-social-login-docs/global-settings/#external-redirect
    and see if it makes a difference.
    If this wouldn’t help, you need to find out what exactly causes this redirect. You could make a backup of your website, then disable your plugins one by one, and each time check the login behavior until you find out where this forced redirect comes from.

    Thread Starter rscarter1

    (@rscarter1)

    Oh my, you’re right. I had something additonal in the shortcode itself (something I found elsewhere and not the plugin – I think it was old) and that caused it. Sorry!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Stop the redirect’ is closed to new replies.