diff --git a/src/main/java/de/caritas/cob/userservice/api/config/auth/SecurityConfig.java b/src/main/java/de/caritas/cob/userservice/api/config/auth/SecurityConfig.java index c48d472a5..cf2ecc6ca 100644 --- a/src/main/java/de/caritas/cob/userservice/api/config/auth/SecurityConfig.java +++ b/src/main/java/de/caritas/cob/userservice/api/config/auth/SecurityConfig.java @@ -221,7 +221,9 @@ protected void configure(HttpSecurity http) throws Exception { .permitAll() .antMatchers(HttpMethod.GET, "/actuator/health/*") .permitAll() - .antMatchers(HttpMethod.POST, "/actuator/health/loggers/*") + .antMatchers(HttpMethod.POST, "/actuator/loggers") + .permitAll() + .antMatchers(HttpMethod.POST, "/actuator/loggers/*") .permitAll() .mvcMatchers(HttpMethod.GET, "/users/{username}") .permitAll()