Skip to content

Commit

Permalink
[Feat] redirect url param 값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyunio committed Oct 6, 2024
1 parent 4fb8179 commit ff15999
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
if (userDetails.getMember().getRole().equals("ROLE_GUEST")) {
log.info("OAuth2SuccessHandler-onAuthenticationSuccess: 회원가입으로 이동");
redirectUrl = UriComponentsBuilder.fromHttpUrl(signUpUrl)
.queryParam("email", userDetails.getMember().getEmail())
.queryParam("token", token).toUriString();
} else {
log.info("OAuth2SuccessHandler-onAuthenticationSuccess: 로그인으로 이동");
Expand Down

0 comments on commit ff15999

Please sign in to comment.