Skip to content

Commit

Permalink
Fix Github Authorize Failed (#190)
Browse files Browse the repository at this point in the history
Fix Github Authorize Failed
  • Loading branch information
kids-return committed Sep 22, 2020
1 parent 8af3b77 commit bb83e28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Providers/Base.php
Expand Up @@ -94,6 +94,9 @@ public function tokenFromCode(string $code): array
$this->getTokenUrl(),
[
'form_params' => $this->getTokenFields($code),
'headers' => [
'Accept' => 'application/json',
],
]
);

Expand Down

0 comments on commit bb83e28

Please sign in to comment.