diff --git a/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java b/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java index a474b9d..ad1f4d3 100644 --- a/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java +++ b/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java @@ -82,7 +82,7 @@ public WebSecurityCustomizer webSecurityCustomizer() { "/schedule", "/v3/api-docs", "/v3/api-docs/**", - "/docs/**","/fcms/**", + "/docs/**","/fcms/**","/members/auth/**", "/briefings/temp"); } @@ -138,6 +138,7 @@ public SecurityFilterChain JwtFilterChain(HttpSecurity http) throws Exception { .authenticated(); authorize.requestMatchers("/v2/scraps/**").authenticated(); authorize.requestMatchers("/scraps/**").authenticated(); + authorize.requestMatchers("/members/auth/token").permitAll(); authorize.anyRequest().authenticated(); }) .exceptionHandling(