Peter
0
Q:

symfony header token authorization

$authorizationHeader = $request->headers->get('Authorization');
        $authorizationHeaderArray = explode(' ', $authorizationHeader);
        $token = $authorizationHeaderArray[1] ?? null;
        $jwtToken = $this->JWTEncoder->decode($token);
        dd($jwtToken);
0

New to Communities?

Join the community