Skip to content

Commit

Permalink
fix: not blocking actuator anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Apr 24, 2024
1 parent df786c7 commit fc16989
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fc16989

Please sign in to comment.