Apply plugin to specific routes

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!

You can customize token validate plugin and add check for this. You can also fetch current path by kong.request.get_path() , parse it and check for auth keyword. If auth keyword is there skip validation else go for validation.