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.
Oauth.php is requesting a request token when calling to fetch_access_token, resulting a "Invalid token" response.
/**
* process an access_token request
* returns the access token on success
*/
public function fetch_access_token(&$request) {
$this->get_version($request);
$consumer = $this->get_consumer($request);
// requires authorized request token
$token = $this->get_token($request, $consumer, "request");
$this->check_signature($request, $consumer, $token);
// Rev A change
$verifier = $request->get_parameter('oauth_verifier');
$new_token = $this->data_store->new_access_token($token, $consumer, $verifier);
return $new_token;
}
Comments
Comment #1
miqmago CreditAttribution: miqmago commentedSorry, I was working with a patch that was solving problems on last version, I updated to newest version, applied a patch from last version but it has been solved by another side, incompatible with the patch.
Comment #2.0
(not verified) CreditAttribution: commentedaccess->request (as it is in code)