Trying to use the parseToken() in a controller method but it keeps saying it couldn't retrieve the token from the request. Digging into that, the request in my controller method has headers:
public function refresh(Request $request)
{
echo '<pre>';
var_dump($request->header());
echo '<pre>';
die();
}
Trying to use the parseToken() in a controller method but it keeps saying it couldn't retrieve the token from the request. Digging into that, the request in my controller method has headers:
produces
But in
vendor/tymon/jwt-auth/src/Http/Parser/Parser.php
produces
Any idea what's wrong? I'm running this in Lumen 5.4 with Homestead and Nginx