Skip to content

Commit

Permalink
[#2]๐Ÿ›Fix: ํ† ํฐ ๋ฐœ๊ธ‰ ๋ฐฉ์‹ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
sumin220 committed Nov 22, 2024
1 parent f03e857 commit 18f18fb
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
Long memberId = oAuth2Member.getMemberId();

// ์ฒซ ๋กœ๊ทธ์ธ ์—ฌ๋ถ€ ํ™•์ธ
String redirectUrl = memberService.isFirstLogin(memberId)
? "http://localhost:3000/signup"
: "http://localhost:3000/home";
String redirectUrl = "http://localhost:3000/login-success";

// ๋ฆฌ๋‹ค์ด๋ ‰ํŠธ URL์— userId ์ถ”๊ฐ€
response.sendRedirect(redirectUrl + "?userId=" + memberId);
Expand Down

0 comments on commit 18f18fb

Please sign in to comment.