Skip to content

Commit ec4d7fc

Browse files
authored
Merge pull request #236 from eureca-final-capstone-project/develop
메인 배포
2 parents 5d4009f + 66dad2f commit ec4d7fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/eureca/capstone/project/orchestrator/auth/service/impl/CustomOAuth2SuccessServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ public void onAuthenticationSuccess(HttpServletRequest httpServletRequest, HttpS
3737

3838
if (authCode == null) {
3939
log.warn("[onAuthenticationSuccess] 인증 코드가 누락되었습니다.");
40-
httpServletResponse.sendRedirect(LOCAL_REDIRECT_URI + "?error=auth_code_missing");
40+
httpServletResponse.sendRedirect(REDIRECT_URI + "?error=auth_code_missing");
4141
return;
4242
}
4343

4444
// authCode와 함께 프론트엔드로 리다이렉트
45-
String redirectUrl = LOCAL_REDIRECT_URI + "?authCode=" + authCode;
45+
String redirectUrl = REDIRECT_URI + "?authCode=" + authCode;
4646
log.info("[onAuthenticationSuccess] 리다이렉트 URL: {}", redirectUrl);
4747
httpServletResponse.sendRedirect(redirectUrl);
4848
}

0 commit comments

Comments
 (0)