Open seth100 opened 3 years ago
Hi,
the following configuration:
$app->add(new Tuupola\Middleware\HttpBasicAuthentication([ "path" => ["/"], "ignore" => ["/api/unauthorized"], // ... ]));
does not work as expected, the requests to mydomain.com/api.php/api/unauthorized/... are still protected (as all those to mydomain.com/api.php/api/...). While, if I change that to something like:
mydomain.com/api.php/api/unauthorized/...
mydomain.com/api.php/api/...
$app->add(new Tuupola\Middleware\HttpBasicAuthentication([ "path" => ["/api"], "ignore" => ["/api/unauthorized"], // ... ]));
all my requests containing mydomain.com/api.php/api/... are not protected.
What am I doing wrong? Is that a know issue (e.g. https://github.com/tuupola/slim-jwt-auth/issues/140)?
Thanks
Hi,
the following configuration:
does not work as expected, the requests to
mydomain.com/api.php/api/unauthorized/...
are still protected (as all those tomydomain.com/api.php/api/...
). While, if I change that to something like:all my requests containing
mydomain.com/api.php/api/...
are not protected.What am I doing wrong? Is that a know issue (e.g. https://github.com/tuupola/slim-jwt-auth/issues/140)?
Thanks