I am using JWT and i did not get the Authorization from header.
i am use the guzzle for the request and i send the request to slim-api like this
$client = new GuzzleHttp\Client(['base_uri' => 'http://slim/api/']);
$response = $client->get('users', [
'headers' => [
'Authorization' => "Bearer {$token}"
]
]);
$api_data = json_decode($response->getBody()->getContents());
And header does not contain on the slim side. By he way i am using nginx server.
$request->getHeaders()[‘HTTP_AUTHORIZATION’][0];