diff --git a/src/Socialite/EveOnline/Provider.php b/src/Socialite/EveOnline/Provider.php index d8b6263..b32a33f 100644 --- a/src/Socialite/EveOnline/Provider.php +++ b/src/Socialite/EveOnline/Provider.php @@ -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), + ]; + } }