Skip to content

Commit

Permalink
chore: Make /actuator/health endpoint accessible in Reactive security…
Browse files Browse the repository at this point in the history
… example (#2041)
  • Loading branch information
ViliusS committed Jun 10, 2022
1 parent 5a0b54f commit f6d3bf6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public SecurityWebFilterChain securityWebFilterChainSecure(ServerHttpSecurity ht
return http
.authorizeExchange((authorizeExchange) -> authorizeExchange
.pathMatchers(this.adminServer.path("/assets/**")).permitAll()
.pathMatchers("/actuator/health/**").permitAll()
.pathMatchers(this.adminServer.path("/login")).permitAll().anyExchange().authenticated())
.formLogin((formLogin) -> formLogin.loginPage(this.adminServer.path("/login")))
.logout((logout) -> logout.logoutUrl(this.adminServer.path("/logout")))
Expand Down

0 comments on commit f6d3bf6

Please sign in to comment.