feat(security): allow access to webhook endpoint #128

Merged
jleibl merged 2 commits from bugfix/deposit into main 2025-04-23 06:59:51 +00:00

View file

@ -23,7 +23,7 @@ public class SecurityConfig {
.cors(Customizer.withDefaults())
.csrf(csrf -> csrf.disable())
.authorizeHttpRequests(auth -> {
auth.requestMatchers("/swagger/**", "/swagger-ui/**", "/health").permitAll()
auth.requestMatchers("/webhook", "/swagger/**", "/swagger-ui/**", "/health").permitAll()
.anyRequest().authenticated();
})
.oauth2ResourceServer(oauth2 -> oauth2.jwt(jwt ->