Skip to content

Commit

Permalink
Fix the socialite provider after they pushed a revert (#178)
Browse files Browse the repository at this point in the history
* Fix socialite provider

* styleCI

* Fix provider again after socialite reverted their previous change
  • Loading branch information
hermesdj authored Feb 20, 2024
1 parent a0ea02f commit 8bb84aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Socialite/EveOnline/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,15 @@ private function validateJwtToken(string $access_token): array

return $validator->validateToken(config('eseye.esi.auth.client_id'), $access_token);
}

/**
* {@inheritDoc}
*/
protected function getTokenHeaders($code)
{
return [
'Accept' => 'application/json',
'Authorization' => 'Basic ' . base64_encode($this->clientId . ':' . $this->clientSecret),
];
}
}

0 comments on commit 8bb84aa

Please sign in to comment.