Skip to content

Commit

Permalink
update redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
minje0204 committed Sep 14, 2024
1 parent c5d9191 commit a9b869d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo

// response.sendRedirect("http://localhost:3000/");

response.sendRedirect("http://localhost:3000/home?token=" + tokenInfo.getAccessToken() + "&refresh=" +tokenInfo.getRefreshToken());
response.sendRedirect("http://localhost:8081/oauth2/authorization/login?token=" + tokenInfo.getAccessToken() + "&refresh=" +tokenInfo.getRefreshToken());
}

private void setTokenPairToResponseHeader(
Expand Down

0 comments on commit a9b869d

Please sign in to comment.