Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 364a0f9

Browse files
author
Mateusz Gostański
committed
Bug fixed in OAuthToken
1 parent 11b0c23 commit 364a0f9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Auth/OAuthToken.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ private function getTokenFromAuthServer(): void
7474

7575
private function makeAuthRequest(): Response
7676
{
77-
return Http::withHeaders(
78-
[
79-
'Accept' => 'application/json'
80-
]
81-
)
77+
return Http::asMultipart()
8278
->post(
8379
$this->config->getAuthUrl(),
8480
[

0 commit comments

Comments
 (0)