This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests are now tracked at the
issue tracker at Github
FS#2324 XML-RPC authorication failed
ACL & Authentication
My test was simple, first create a new wiki. Install with admin and password. Go to the manager, check XML-RPC usage and add "admin" to the xml-rpc user.
Then try xml-rpc login and getPage, the login returns true (1), while getPage always failed with error message "server error. not authorized to call method "wiki.getPage"."
What client do you use? Does it support cookies?
My client was PHP.
Actually, the authorication worked fine on the version 2010-11-07a "Anteater" -- using exactly the same client, of course.
The attachment was the class for xml-rpc bot.
with previous bot files, run something like:
$bot1 = new dwbot('http://mywiki/lib/exe/xmlrpc.php',true,true);
$bot1->login( "admin", "password" );
$s = $bot->getpage( 'wiki:dokuwiki' );
And the result showed that getpage always failed due to "not authorized".
The same script worked on version 2010-11-07a "Anteater".