diff --git a/api/src/main/java/lab/en2b/quizapi/auth/config/SecurityConfig.java b/api/src/main/java/lab/en2b/quizapi/auth/config/SecurityConfig.java index aa965a08..5e7ed38a 100644 --- a/api/src/main/java/lab/en2b/quizapi/auth/config/SecurityConfig.java +++ b/api/src/main/java/lab/en2b/quizapi/auth/config/SecurityConfig.java @@ -64,6 +64,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http, Authentication .requestMatchers(HttpMethod.GET,"/users","/users/**").permitAll() .requestMatchers(HttpMethod.GET,"/auth/logout").authenticated() .requestMatchers(HttpMethod.POST,"/auth/**").permitAll() + .requestMatchers(HttpMethod.GET, "/actuator/**").permitAll() .requestMatchers(HttpMethod.GET, "/swagger/**").permitAll() .anyRequest().authenticated()) .csrf(AbstractHttpConfigurer::disable)