Skip to content

Commit

Permalink
domain 값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
HwangHoYoon committed Jan 20, 2024
1 parent 1a7aef2 commit 0818bf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/chwipoClova/common/utils/JwtUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public void setHeaderRefreshToken(HttpServletResponse response, String refreshTo
public void setCookieRefreshToken(HttpServletResponse response, String refreshToken) {
ResponseCookie responseCookie = ResponseCookie.from(REFRESH_TOKEN, refreshToken)
.maxAge(REFRESH_COOKIE_TIME)
.path("/")
//.path("/")
.secure(true)
.domain(domain)
//.sameSite("None")
//.domain(domain)
.sameSite("None")
.httpOnly(true)
.build();
response.addHeader(HttpHeaders.SET_COOKIE, responseCookie.toString());
Expand Down

0 comments on commit 0818bf0

Please sign in to comment.