Skip to content

Commit

Permalink
Merge pull request #124 from swm-nodriversomabus/FIX-LOGOUT-LOGIN
Browse files Browse the repository at this point in the history
fix(BE): access_token 유효시간 수정 for 에러체크용 #114
  • Loading branch information
namhyo01 authored Oct 18, 2023
2 parents 33c047e + c4ebc6d commit 3d89837
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
.encode(StandardCharsets.UTF_8)
.toUriString();
log.info("success redirecting");
CookieUtils.addCookie(response, "access_token",token.getAccessToken(), 1000 * 60 * 60);
// CookieUtils.addCookie(response, "access_token",token.getAccessToken(), 1000 * 60 * 60);
CookieUtils.addCookie(response, "access_token",token.getAccessToken(), 10000);
clearAuthenticationAttributes(request, response);
// response.addCookie(CookieUtils.addCookie(););
getRedirectStrategy().sendRedirect(request, response, targetUrl);
Expand Down

0 comments on commit 3d89837

Please sign in to comment.