First, you should know GatewayFilter is used for a special route, so that you should bind it to a route.GlobalFilter will take effect for all routes.
And it’s redundant that assembling a GatewayFilter with a GatewayFilter.
CLICK HERE to find out more related problems solutions.