Skip to content

Commit

Permalink
hotfix : 쿠키 보안 요소 sameSite 임시 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
oosedus committed Feb 4, 2025
1 parent c763416 commit 2ab2fa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/corecord/dev/common/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public ResponseCookie createCookie(String tokenName, String token, long expirati
.domain("moamoa.site")
.httpOnly(true)
.secure(true)
.sameSite("None") // 배포시 삭제
.path("/")
.maxAge(expirationTime / 1000) // maxAge는 초 단위
.build();
Expand Down

0 comments on commit 2ab2fa5

Please sign in to comment.