Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ryanv12

    (@ryanv12)

    When the SSO login is opened, the Disqus embed is “listening” for that window to close before reloading the page (so the user is logged in). Because the standard WordPress login flow isn’t aware of what’s happening, it simply redirects to the home page after logging in.

    Ideally the plugin will render its own custom login form or do something that closes its own window after logging in, but alas that’s not implemented.

    You can always skip showing the site’s login button entirely and let them log in through other means already on your site.

    Hello,
    I hope Disqus will fix this bug in the next update. For the time being, I have made SSO login work partly by adding bellowing script in WordPress to make popup windows close:

    /* Auto Close Windows if login
    ================================== */
    if ( is_user_logged_in() ) {
        echo "<script>window.close();</script>";
    }

    Just tested it work on Desktop and Android device but for iOS devices the popup tab did not close.

    @mienque
    Work great! thanx!

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

The topic ‘WordPress SSO Login Box’ is closed to new replies.