Skip to content

Commit

Permalink
httpOnly 값 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
HwangHoYoon committed Jan 21, 2024
1 parent 2c74070 commit ee0fd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/chwipoClova/common/utils/JwtUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void setCookieRefreshToken(HttpServletResponse response, String refreshTo
.secure(true)
.domain(domain)
.sameSite("None")
//.httpOnly(true)
.httpOnly(true)
.build();
response.addHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());
/*response.setHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());
Expand Down

0 comments on commit ee0fd5f

Please sign in to comment.