We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b2d35 commit 568a7a0Copy full SHA for 568a7a0
src/OAuth/OAuth.php
@@ -72,12 +72,12 @@ public function setAccessToken($token)
72
}
73
74
75
- public function getAccessToken($code)
+ public function getAccessToken($authorize_code)
76
{
77
$query = array(
78
- 'code' => $code,
79
- 'client_id' => $this->client_id,
80
- 'client_secret' => $this->client_secret,
+ 'authorize_code' => $authorize_code,
+ 'client_id' => $this->client_id,
+ 'client_secret' => $this->client_secret,
81
);
82
83
$endpoint = '/oauth/oauth_token';
0 commit comments