@Slf4j @Component public class CustomAuthFilter extends AbstractGatewayFilterFactory{ @Value("${spring.security.jwt.secret}") private String SECRET_KEY; public static class Config { } public CustomAuthFilter(){ super(Config.class); } @Override public GatewayFilter apply(Config config) { return (exchange, chain) -> { ServerHttpRequest request = exchange.getRequest(); if (!request.getHeaders().con..