WordPress Social Login Endpoint. 406. The session identifier is missing. For more information refer to WSL Troubleshooting

Solution:

Here the solution for it.

Place the below code in your function.php file.

Don’t forgot to update your domain name.

  function wsl_whitelist_endpoint()
  {
    setcookie( LOGGED_IN_COOKIE, md5(rand()), time()+15,'http://yourdomainnamegoeshere/wp-content/plugins/wordpress-social-login/hybridauth' );
  }
  add_filter( 'wsl_process_login_start', 'wsl_whitelist_endpoint' );