in the function "oauth_common_autoload_info()" there is no "OAuthSignatureMethod_HMAC_SHA1" key, so when using this Method we get an class not found error.

It should be there and as lib the "lib/OAuth.php":

'OAuthSignatureMethod_HMAC_SHA1' => $lib,

Comments

flahertypj’s picture

What service module are you using? I'm having the same problem with linkedin module

voxpelli’s picture

Assigned: Unassigned » voxpelli

You're expected to use OAuthSignatureMethod_HMAC and not OAuthSignatureMethod_HMAC_SHA1. Just send 'SHA1' into the constructor and it will behave exactly the same.

However - I see that DrupalOAuthClient actually uses OAuthSignatureMethod_HMAC_SHA1 itself - which is wrong. I will commit a fix for that.

voxpelli’s picture

voxpelli’s picture

Version: 6.x-3.0-beta1 » 6.x-3.0-beta2
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.