Skip to content

Commit fa52a77

Browse files
authored
쿠키가 공유되지 않아 테스트 코드 원복 및 쿠키 공유 되지 않던 원인 코드 수정
test : 쿠키가 공유되지 않아 테스트 코드 원복 및 쿠키 공유 되지 않던 원인 코드 수정
2 parents 23a745b + a8af0b3 commit fa52a77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/myteam/server/auth/service/ReIssueService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public String extractRefreshToken(HttpServletRequest request) {
8787
}
8888

8989
// 리프레시 토큰에서 액세스 토큰 추출
90-
return jwtProvider.getAccessToken(refresh);
90+
return refresh;
9191
}
9292

9393
@Transactional

src/main/java/org/myteam/server/global/security/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
149149
.addFilter(webConfig.corsFilter()); // CORS 필터 추가
150150

151151
// // cors 설정
152-
http.cors((corsCustomizer) -> corsCustomizer.configurationSource(configurationSource()));
152+
// http.cors((corsCustomizer) -> corsCustomizer.configurationSource(configurationSource()));
153153

154154
// 예외 처리 핸들러 설정
155155
http.exceptionHandling(exceptionHandling -> exceptionHandling

0 commit comments

Comments
 (0)