Support » Plugins » Hacks » Can XMLRPC be used with with WordPress login authentication?

  • The user logs in to the site and is authenticated. Now I would like to asynchronously interact with WP to do things such as get a list of posts, get a list of categories, add a new post and so on. With XML RPC there is an API I am familiar with. But I do not want to send the user’s login credentials on each call especially because they have already authenticated. Is there a way to use the XML-RPC without sending the login credentials on each call? Can the login be blank after the user is authenticated? Am I doing this right?

    The reason I am doing it this way is that the application is asynchronous. I am loading it once after the user logs in and from then on out there are no page loads only AJAX calls. So I need to get information to and from WordPress while still in the browser.

Viewing 1 replies (of 1 total)
  • Basically, is there something I can add to the XML-RPC.php page that says, “if_user_is_already_logged_in” then do not require credentials with the XML RPC call?

Viewing 1 replies (of 1 total)
  • The topic ‘Can XMLRPC be used with with WordPress login authentication?’ is closed to new replies.