JwtAuth configuration

$app->add(new \Slim\Middleware\JwtAuthentication([
		"attribute" => "jwt",
		"secure"=>true,
		//"path" => ["/api"], 
		"ignore" => ["/login"],
		"relaxed" => ["localhost","192.168.1.11"],
		"secret" => $container->get('settings')['jwtkey'],
		"callback" => function ($request, $response, $arguments) use ($container) {
			$container["jwt"] = $arguments["decoded"];
		},
		"error" => function ($request, $response, $arguments) {

			$data["status"] = "error";
			$data["message"] = $arguments["message"];

			return $response->withHeader("Content-Type", "application/json")->write(json_encode($data, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT));
		},
]));

This is my configuration, and ignore path /login/ not work, always send me an error token not found

Hey there jjsainzc! I would be happy to help you, do you have any additional logging information directly relating to the error you are experiencing? Thanks In advance!