From 5e07e6a3bcf023a7fa14fc792ccd291c40701490 Mon Sep 17 00:00:00 2001 From: yumzen Date: Fri, 15 Nov 2024 15:26:14 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20permit=20endpoint=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/kahlua/KahluaProject/config/SecurityConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java b/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java index d871b07..448262b 100644 --- a/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java +++ b/src/main/java/kahlua/KahluaProject/config/SecurityConfig.java @@ -51,8 +51,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { ); http.authorizeHttpRequests((authorize) -> authorize .requestMatchers( "/api-docs/**", "/swagger-ui/**", "/swagger-ui.html/**", "/v3/api-docs/**", "/swagger-ui/index.html#/**").permitAll() - .requestMatchers(HttpMethod.GET, "/v1/admin/tickets/**").permitAll() - .requestMatchers(HttpMethod.GET, "/v1/admin/apply/**").permitAll() + .requestMatchers(HttpMethod.GET, "/v1/admin/tickets/info/**").permitAll() + .requestMatchers(HttpMethod.GET, "/v1/admin/apply/info/**").permitAll() .requestMatchers("/v1/auth/sign-out/**", "v1/auth/recreate/**","/v1/user/**", "/v1/admin/**").authenticated() .anyRequest().permitAll()) .addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class)