I want to apply the JWT plugin to all routes except my authentication and authorization routes so that a user on my application can first provide a username and password to retrieve a JWT token before the JWT plugin begins verifying the JWT tokens are valid.
Is it possible to do this without creating a secondary ingress that would include all authorization and authentication endpoints?
For example, I have path /api that I would like to perform JWT validation on, except if the paths are /api/auth/dashboard/authorization or /api/auth/dashboard/authentication.
Your help is appreciated!