Skip to content

Commit b10086f

Browse files
authored
Merge pull request #102 from swyp-app-team-4/refactor#97-vote-duplication-api
[Fix] Modify SecurityConfig Logout
2 parents 3dd5c2d + a0ec011 commit b10086f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/boombimapi/global/config/SecurityConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public class SecurityConfig {
4141
"/api/region",
4242
"/api/oauth2/login/**", // 새로운 토큰 방식 로그인 포함
4343
"/api/oauth2/callback/**", // 기존 콜백 방식 (테스트용)
44-
"/api/oauth2/logout",
4544
"/api/healthcheck", "/api/admin/**",
4645
"/actuator/**"
4746
);
@@ -71,7 +70,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
7170
.requestMatchers("/api/healthcheck").permitAll()
7271
.requestMatchers("/api/oauth2/login/**").permitAll() // POST /api/oauth2/login/{provider} 허용
7372
.requestMatchers("/api/oauth2/callback/**").permitAll() // 기존 콜백 방식 허용
74-
.requestMatchers("/api/oauth2/logout", "/api/admin/**").permitAll()
73+
.requestMatchers( "/api/admin/**").permitAll()
7574
.requestMatchers("/v3/api-docs/**", "/swagger-ui/**", "/swagger-ui.html").permitAll()
7675
.requestMatchers("/favicon.ico", "/api/region").permitAll()
7776
.requestMatchers("/api/reissue").permitAll()

0 commit comments

Comments
 (0)