Autorisation de jeton d'en-tête Symfony
$authorizationHeader = $request->headers->get('Authorization');
$authorizationHeaderArray = explode(' ', $authorizationHeader);
$token = $authorizationHeaderArray[1] ?? null;
$jwtToken = $this->JWTEncoder->decode($token);
dd($jwtToken);
Frail Fox