Skip to content

Commit

Permalink
Merge pull request #217 from Wise-Gorilla/patch-1
Browse files Browse the repository at this point in the history
Fix OAuth Authorization
  • Loading branch information
dennisameling authored Oct 10, 2020
2 parents 33563d5 + 4ca09c2 commit 911e8d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Auth/OAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ protected function prepareRequest($url, array $headers, array $parameters, $meth
//OAuth 2.0
$this->log('making request using OAuth2 spec');

$parameters['access_token'] = $this->_access_token;
$headers[] = 'Authorization: Bearer '.$this->_access_token;
}

return [$headers, $parameters];
Expand Down

0 comments on commit 911e8d0

Please sign in to comment.