I have been attempting to setup oauth for use with my xml-rpc (through services).
1) Enable the modules.
2) visit admin/settings/oauth and add a context (follows)
$context = new stdClass; $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */ $context->api_version = 1; $context->name = 'imislogin'; $context->title = 'IMIS Login'; $context->authorization_options = array( 'access_token_lifetime' => 0, 'page_title' => 'Login to @appname', 'message' => 'Hi @user! Click on the "login" button to log in to @appname. This will log you in to @appname and give it access to details like your username and email, but not to your password.', 'warning' => 'Click here if you didn\\\'t ask to be logged in to @appname.', 'deny_access_title' => 'Cancel', 'grant_access_title' => 'Login', 'disable_auth_level_selection' => 1, 'signature_methods' => array( 0 => 'HMAC-SHA1', 1 => 'HMAC-SHA256', 2 => 'HMAC-SHA384', 3 => 'HMAC-SHA512', ), 'default_authorization_levels' => array( 0 => 'basic', ), ); $context->authorization_levels = array( 'basic' => array( 'name' => 'basic', 'title' => 'Yes, I want to log in to @appname as @user', 'description' => 'This will log you in to @appname and give it access to details like your username and email, but not to your password.', 'default' => 1, 'delete' => 0, ), );
3) Visit /user/1/oauth/consumers and add a consumer with name and callback = http://mysite.com/oauth/request_token
5) Press "Request Token"
This results in a WSOD. No errors logged, no output of any sort. I already verified my consumer key/secret was correct and there was no trailing or leading spaces. I saw an issue from last year similar to thisfor 7.x but it seems to have been resolved.