Skip to content

Commit

Permalink
Add ip restricted endpoint to allow
Browse files Browse the repository at this point in the history
  • Loading branch information
TayGov committed Sep 26, 2023
1 parent 4ec87d6 commit 6b8d229
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {

http.authorizeHttpRequests(requests -> requests
.requestMatchers("/actuator/**").permitAll()
.requestMatchers("/documents/webhookEvent").permitAll()
.anyRequest().authenticated());

http.oauth2ResourceServer((oauth2) -> oauth2.jwt(jwt -> jwt.jwtAuthenticationConverter(keycloakJwtAuthConverter)));
Expand Down

0 comments on commit 6b8d229

Please sign in to comment.