Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think there is a mistype in oauth.inc file:
// Check if the consumer key and token are valid
if (!$consumer_uid = db_result(db_query("SELECT uid FROM {webservices_consumer}
WHERE consumer_key = '%s'",
$consumer_key))) {
throw new Exception(t('Invalid consumer key.'));
}
Comment | File | Size | Author |
---|---|---|---|
#1 | oauth324994.patch | 681 bytes | vladimir.dolgopolov |
Comments
Comment #1
vladimir.dolgopolov CreditAttribution: vladimir.dolgopolov commentedHere is the patch.
Comment #2
brmassa CreditAttribution: brmassa commentedVladimir,
thanks a lot! patch commited!
regards,
massa
PS: since you are interested on OAuth and web services, i would ask you to help to build a OAuth authentication documentation (see http://drupal.org/node/318799). It would be great see other users to use and enhance it.