spring-security-6683-issue-verification See spring-projects/spring-security#6683 Run the application and by default a mocked client credentials call will occur and setup some basic authentication. If ran without the apply method being called in the BackgroundClient.java a 401 will occur