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 cbd6538 commit 2c74070
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 @@ -41,7 +41,7 @@ public class JwtUtil {

public static final String ACCESS_TOKEN = "accessToken";

public static final String REFRESH_TOKEN = "refresh_token";
public static final String REFRESH_TOKEN = "refreshToken";

public static final String AUTHORIZATION = "Authorization";

Expand Down Expand Up @@ -152,9 +152,9 @@ public void setCookieRefreshToken(HttpServletResponse response, String refreshTo
.maxAge(REFRESH_COOKIE_TIME)
.path("/")
.secure(true)
//.domain(domain)
.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 2c74070

Please sign in to comment.