Skip to content

Commit 9122cbd

Browse files
committed
no message
1 parent f5f8f37 commit 9122cbd

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/DirectAuthenticate.php

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,16 @@ public function authenticate()
5252
'client_id' => $this->client_id,
5353
];
5454

55-
$this->response = $this->http_client->get('/oauth/access_token', [
56-
'headers' => [
57-
'Content-Type' => 'application/json',
58-
'Accept' => 'application/json',
59-
],
60-
'query' => $params,
61-
]);
55+
// $this->response = $this->http_client->get('/oauth/access_token', [
56+
// 'headers' => [
57+
// 'Content-Type' => 'application/json',
58+
// 'Accept' => 'application/json',
59+
// ],[
60+
// 'query' => $params],
61+
//
62+
// ]);
63+
64+
$this->response = $this->http_client->request('GET', '/oauth/access_token', ['query' => $params]);
6265

6366
//Can also use a GET
6467
//$this->response = $this->http_client->get( '/oauth/access_token', [ 'headers' => [ 'Content-Type' => 'application/json',

0 commit comments

Comments
 (0)