Suolumi
Suolumi

Reputation: 36

How to configure middleware to skip dynamic route

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/'?

Upvotes: 1

Views: 284

Answers (0)

Related Questions