How to configure middleware to skip dynamic route

130 Views Asked by At

I'm using echo-labstack and I'm implementing a JWT validation. I'd like the validating route to be unprotected by the JWT middleware but the route is a route like '/validate/:token'.

Is there a way to match this particular route without having to unprotect all routes that start with '/validate/'?

0

There are 0 best solutions below