Compare commits

..

No commits in common. "0291450eb9b2c64a1a231db5de9865fbb4d7f0b8" and "2aaf79410d615feb91b69583a53ccd1b3ae6ff5f" have entirely different histories.

View file

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