added code

This commit is contained in:
Mohd-Arham
2025-12-16 09:57:29 +05:30
parent 78c0e023d9
commit 98ca620bb4
2 changed files with 5 additions and 6 deletions
@@ -44,7 +44,7 @@ public class SecurityConfig {
"/webjars/**",
"/error")
.permitAll()
.requestMatchers("/payment/callback/startPayment","/checkTicketStatus/complaints/")
.requestMatchers("/payment/callback/startPayment","/complaints/checkTicketStatus")
.permitAll().requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
.anyRequest().authenticated())
.exceptionHandling(ex -> ex.authenticationEntryPoint(jwtAuthenticationEntryPoint))