Closed (fixed)
Project:
OAuth 1.0
Version:
6.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jun 2010 at 16:11 UTC
Updated:
1 Aug 2010 at 17:50 UTC
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
Comment #1
flahertypj commentedWhat service module are you using? I'm having the same problem with linkedin module
Comment #2
voxpelli commentedYou'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.
Comment #3
voxpelli commentedHere's a patch: http://github.com/voxpelli/drupal-oauth/commit/bc2c29c522f83a11533318302...
Nice HTML-view of it: http://github.com/voxpelli/drupal-oauth/commit/bc2c29c522f83a11533318302...
Comment #4
voxpelli commented