Testing a secure SpringBoot controller using @WebMvcTest

Does anyone have any guidance or an example on how to create a working @WebMvcTest for a Spring Boot application that’s secured using Auth0? (that doesn’t actually grab a token from auth0)


As it has been more than a few months since this topic was opened, and there has been no reply or further information provided as to the existence of the issue, we are closing this topic. Please don’t hesitate to create a new topic if this issue is still present, we would be happy to work with you to help find a resolution.