Skip to content

Commit

Permalink
#24 [REFACT] redirect uri - 클라이언트 배포 도메인 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
bbabbi committed Dec 2, 2024
1 parent f3cd69c commit 68c6b03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
tokenService.saveRefreshToken(user.getUserId(), jwtRefreshToken);

// 클라이언트로 리다이렉트
String redirectUrl = "http://localhost:3000/oauth2/success?accessToken=" + jwtAccessToken + "&refreshToken=" + jwtRefreshToken;
String redirectUrl = "https://autorepo.dcs-seochan99.com/oauth2/success?accessToken=" + jwtAccessToken + "&refreshToken=" + jwtRefreshToken;
response.sendRedirect(redirectUrl);
}
}

0 comments on commit 68c6b03

Please sign in to comment.