Skip to content

Commit

Permalink
fix(security): allow anonymous access to actuator health endpoints to…
Browse files Browse the repository at this point in the history
… allow LBs/proxies/k8s to verify status
  • Loading branch information
filipowm committed Mar 5, 2022
1 parent 1e6f3ff commit 35963aa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ internal class SecurityConfiguration {
.httpBasic().disable()
.formLogin().disable()
.authorizeExchange()
.pathMatchers("/actuator/health/**").permitAll()
.anyExchange().authenticated().and()
.oauth2Login()
.authenticationSuccessHandler(buildSuccessHandler(sessionProperties))
Expand Down

0 comments on commit 35963aa

Please sign in to comment.