Skip to content

Commit b5594fc

Browse files
committed
fix : 쿠키 secure 무효화
1 parent 78a1cf0 commit b5594fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/dnd/reevserver/global/util/CookieUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
import jakarta.servlet.http.HttpServletResponse;
66
import org.springframework.http.ResponseCookie;
77

8+
89
public class CookieUtils {
910
private CookieUtils() {
1011
throw new IllegalStateException("Utility class");
1112
}
1213

1314
public static ResponseCookie createReissueCookie(String name, String value, int maxAge) {
1415
return ResponseCookie.from(name, value)
15-
.secure(true)
16+
.secure(false) // 현재 프론트가 http 개발 환경이기에 false 처리
1617
.sameSite("None")
1718
.httpOnly(true)
1819
.path("/")

0 commit comments

Comments
 (0)