WordPress.org

Ready to get started?Download WordPress

Forums

Can XMLRPC be used with with WordPress login authentication? (2 posts)

  1. monkeypunch3
    Member
    Posted 8 months ago #

    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.

  2. monkeypunch3
    Member
    Posted 8 months ago #

    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?

Reply

You must log in to post.

About this Topic