-
Notifications
You must be signed in to change notification settings - Fork 144
Ignore option is not working #192
Comments
@tuupola Please update the solution |
https://github.com/tuupola/slim-jwt-auth/search?q=%24options%5B%22ignore%22%5D You did not mention which framework you are using, but for example Slim 4 has changed how it handles apps installed in subfolder. This is not an issue with the middleware. Instead it is considered a framework feature. To work around this you could try setting "ignore" => ['/common/api/v1/user/refresh-token'], |
@tuupola I'm using Slim 3.
|
i have tried
and $app->add(new \Slim\Middleware\JwtAuthentication([ but all these not working. |
With Slim 3 you should not need to use
? |
I'm using prefix
|
Have you tried with latest version? Looking at the example code you seem to be using the old 2.x branch. There was a related bug which was fixed couple of years ago. |
No feedback. |
I have added this middleware to my REST API project. But I'm ignored refresh token URL from the token authentication mechanism. But it's not working.
This project hosted with the base URL
http://myproject.test/common/
This is my middleware code
After debugging the
JwtAuthentication
class I couldn't find the usage of the$options['ignore]
option. is it still available?or did you change the working principles? Or any mistakes in my code?
The text was updated successfully, but these errors were encountered: