Take a look at https://github.com/spring-projects/spring-boot/issues/25742#...
I included a workaround allowing to opt-in for autoconfiguration instead of opting out. I have used the filter for more than 2 years without issue.