Viewing 2 replies - 1 through 2 (of 2 total)
  • Had the same problem, i made the following changes to fix it.

    1) Register “https://www.my-domain-name.com/wp-content/plugins/wordpress-social-login/hybridauth/endpoints/live.php” as redirect domain.

    2) Edit “/wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/Provider_Adapter.php” , goto Line 162, add the following lines.

    if ($this->id=="Live") { $this->params["login_done"] = $HYBRID_AUTH_URL_BASE."endpoints/live.php"; }
    		else { $this->params["login_done"] = $HYBRID_AUTH_URL_BASE . ( strpos( $HYBRID_AUTH_URL_BASE, '?' ) ? '&' : '?' ) . "hauth.done={$this->id}"; }

    Thread Starter Advanced SEO

    (@jole5)

    Hello.

    Thanks for reply.

    This is original:

    if( isset( $this->params["hauth_return_to"] ) ){
                Hybrid_Auth::storage()->set( "hauth_session.{$this->id}.hauth_return_to", $this->params["hauth_return_to"] );
            }

    Should I replace it or just to add your code above like this:

    // Added start
            if ($this->id=="Live") { $this->params["login_done"] = $HYBRID_AUTH_URL_BASE."endpoints/live.php"; }
    		else { $this->params["login_done"] = $HYBRID_AUTH_URL_BASE . ( strpos( $HYBRID_AUTH_URL_BASE, '?' ) ? '&' : '?' ) . "hauth.done={$this->id}"; }
    // Added end
    
            if( isset( $this->params["hauth_return_to"] ) ){
                Hybrid_Auth::storage()->set( "hauth_session.{$this->id}.hauth_return_to", $this->params["hauth_return_to"] );
            }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Windows Live login not working – redirect URL problem’ is closed to new replies.