wp_login_url not reliable source as is
-
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.
- The topic ‘wp_login_url not reliable source as is’ is closed to new replies.