Skip to content

Commit 7544879

Browse files
committed
fix: 프런트 요청으로 로그인 후 리다이렉트 url 수정
1 parent 39ef596 commit 7544879

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)