When a route contains a dynamic element and is passed to the ignore directive in the constructor, the route is not ignored.
For example, if the ignore directive looks like this:
'ignore' => [ '/user/{id:[0-9]+}/activate/' ]
And we visit the URL:
https://example.com/user/1/activate/
We receive the 401, because no token is passed. Is there a workaround for this?