feat(security): allow access to webhook endpoint
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
	
		
	
		
			Some checks failed
		
		
	
	
This commit is contained in:
		
					parent
					
						
							
								9ec6d8f413
							
						
					
				
			
			
				commit
				
					
						aa78ccc630
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,7 +23,7 @@ public class SecurityConfig {
 | 
				
			||||||
            .cors(Customizer.withDefaults())
 | 
					            .cors(Customizer.withDefaults())
 | 
				
			||||||
            .csrf(csrf -> csrf.disable())
 | 
					            .csrf(csrf -> csrf.disable())
 | 
				
			||||||
            .authorizeHttpRequests(auth -> {
 | 
					            .authorizeHttpRequests(auth -> {
 | 
				
			||||||
                auth.requestMatchers("/swagger/**", "/swagger-ui/**", "/health").permitAll()
 | 
					                auth.requestMatchers("/webhook", "/swagger/**", "/swagger-ui/**", "/health").permitAll()
 | 
				
			||||||
                    .anyRequest().authenticated();
 | 
					                    .anyRequest().authenticated();
 | 
				
			||||||
                })
 | 
					                })
 | 
				
			||||||
                .oauth2ResourceServer(oauth2 -> oauth2.jwt(jwt ->
 | 
					                .oauth2ResourceServer(oauth2 -> oauth2.jwt(jwt ->
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue