Skip to content

Commit 889c37e

Browse files
committed
fix:solve conflict
1 parent 131e0ed commit 889c37e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/com/back/global/security/CustomOAuth2LoginSuccessHandler.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
2626
SecurityUser securityUser = (SecurityUser) authentication.getPrincipal();
2727
// Access Token과 Refresh Token 발급
2828
userAuthService.issueTokens(response, securityUser.getId(), securityUser.getEmail(), securityUser.getNickname());
29-
response.sendRedirect(frontendUrl);
29+
30+
// 프론트엔드로 리다이렉트
31+
String redirectUrl = frontendUrl;
32+
33+
response.sendRedirect(redirectUrl);
3034
}
3135
}

0 commit comments

Comments
 (0)