Full Version: Logging out of webservice: Authentication required
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can succesfully log in to the webservice from a remote app, but so far no luck logging out. I get the following message:

PHP Code:
array(2) { ["success"]=> bool(false) ["error"]=> array(2) { ["code"]=> string(23"AUTHENTICATION_REQUIRED" ["message"]=> string(23"Authentication required" } } 

I'm not sure what I'm missing here..

I found the problem, logout requires the webservice session ID, but since I'm on a new page, I had to store the session ID in the browser session and reset it on the new $client instance.