From a5fe6626669093c78998125ee761722a3129f12e Mon Sep 17 00:00:00 2001 From: Elliot Chance Date: Wed, 14 Oct 2015 14:39:42 +1100 Subject: [PATCH] Revert "fixes verifier not getting added to header" This reverts commit 9ffcd7ae62110cac7666f721717c8e885809b807. --- src/OAuth/OAuth1/Service/AbstractService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OAuth/OAuth1/Service/AbstractService.php b/src/OAuth/OAuth1/Service/AbstractService.php index 582b4674..97cb30b5 100644 --- a/src/OAuth/OAuth1/Service/AbstractService.php +++ b/src/OAuth/OAuth1/Service/AbstractService.php @@ -213,8 +213,8 @@ protected function buildAuthorizationHeaderForAPIRequest( $authParameters = array_merge($authParameters, array('oauth_token' => $token->getAccessToken())); - $authParameters = (is_array($bodyParams)) ? array_merge($authParameters, $bodyParams) : $authParameters; - $authParameters['oauth_signature'] = $this->signature->getSignature($uri, $authParameters, $method); + $signatureParams = (is_array($bodyParams)) ? array_merge($authParameters, $bodyParams) : $authParameters; + $authParameters['oauth_signature'] = $this->signature->getSignature($uri, $signatureParams, $method); if (isset($bodyParams['oauth_session_handle'])) { $authParameters['oauth_session_handle'] = $bodyParams['oauth_session_handle'];