• Resolved Seth Carstens

    (@sethcarstens)


    After 4 hours of playing with this plugin and tracing the source of my problem, I found out that, for some reason, the function your using to send google my “redirect_url” is including query string paramters, causing the login link to show googles “redirect mismatch” error. Since the script should ALWAYS send domain.com/wp-login.php without the querystring.

    Can I please suggest you update the get_login_url() function inside core_google_apps_login.php around line 394 to do the following:

    return strtok($login_url,’?’);

    This will always return the url without query vars. I also tested, this does not break the actual redirect. If you intended on being on an edit post, it still takes you there. Please let me know if you make the update so I can enabled updates on your plugin again.

    https://www.ads-software.com/plugins/google-apps-login/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Seth Carstens

    (@sethcarstens)

    BTW, thank you, this plugin is awesome. Everyone should download and use it. ??

    Seth,

    Thank you for getting in touch, and for your kind words about the plugin!

    I’ve also seen your email, so I’ll take a look at the problem you were encountering and hopefully find a way to accommodate your suggestion.

    Regards,

    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_login_url not reliable source as is’ is closed to new replies.