Skip to content

Commit 3499960

Browse files
Merge pull request #224 from prgrms-web-devcourse-final-project/fix/oath/redirect
Fix: 프런트 요청으로 로그인 후 리다이렉트 url 수정
2 parents cef5a44 + 7544879 commit 3499960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/grep/neogulcoder/global/auth/oauth/OAuthSuccessHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
4545

4646
response.addHeader("Set-Cookie", accessTokenCookie.toString());
4747
response.addHeader("Set-Cookie", refreshTokenCookie.toString());
48-
getRedirectStrategy().sendRedirect(request, response, "http://localhost:3000/");
48+
getRedirectStrategy().sendRedirect(request, response, "http://localhost:3000/auth/callback");
4949
}
5050

5151
}

0 commit comments

Comments
 (0)