Skip to content

Commit

Permalink
fix : 쿠키 httpOnly false
Browse files Browse the repository at this point in the history
  • Loading branch information
f1v3-dev committed Feb 13, 2025
1 parent 5ff8003 commit b02be89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ private void setRefreshTokenCookie(HttpServletResponse response, String refreshT
ResponseCookie.from(REFRESH_TOKEN, refreshToken)
.secure(true)
.sameSite("None")
.httpOnly(true)
.httpOnly(false) // todo : true 로 변경
.maxAge(REFRESH_TOKEN_EXPIRE_TIME)
// .domain(".sbooky.net")
.domain("localhost")
// .domain("localhost")
.path("/")
.build();
response.addHeader(SET_COOKIE, cookie.toString());
Expand Down

0 comments on commit b02be89

Please sign in to comment.