I would like to disable security on endpoints during some unit tests. I am using webflux functional endpoints so the below configuration does not work.
@AutoConfigureMockMvc(secure = false)
I desactivated it by using profiles, but that means I cannot test security with test profile anymore. Is there another way to do it with webflux ?
Thanks in advance for your helps
secure=false
in MockMvc is not even an option – Metamorphosis@WebFluxTest
config and A WebTestClient – Responsive