Multiple EnvoyFilter ordering

I have two EnvoyFilters, and I’m unable to get the ordering of the execution to work.
The first is a Wasm filter, the second is a JwtAuthentication filter.
I’ve tried playing with the “operation” to be INSERT_BEFORE, INSERT_AFTER, ADD, etc, with no luck. My JwtAuthentication filter is always executed first, when I’d like it to be second.

When I apply just one of either filters, they behave as expected - either running the WASM filter or running the JWT validation.

my yaml:

Any thoughts on how to specify one to run before the other?
When I put the JWT filter as ‘INSERT_AFTER’ it doesn’t ever get run, even on its own.

thanks peeps

1 Like