tuupola / slim-jwt-auth

PSR-7 and PSR-15 JWT Authentication Middleware
https://appelsiini.net/projects/slim-jwt-auth
MIT License
821 stars 140 forks source link

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

Open rlzdesenv opened 1 year ago

rlzdesenv commented 1 year ago

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!