tuupola/slim-jwt-auth

Route in ignore if it has the authorization header is it decoded?

rlzdesenv opened this issue · 0 comments

When I have a route added to the

"ignore" => ["/api/token", "/admin/ping"]

and I send a header with token is it processed by the method in the before and done the decoder?

"before" => function ($request, $arguments) {
         $jwt = (object)$arguments["decoded"];
 }

in a local environment it decodes, more in a remote environment with https apparently not!