Skip to content

Commit

Permalink
Merge pull request #49 from local-mood/fix/48-cookie
Browse files Browse the repository at this point in the history
Fix: secure 옵션 false로 변경
  • Loading branch information
yeni-choi authored Dec 23, 2023
2 parents ee09216 + 34213d8 commit f9f28b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public ResponseEntity<?> login(@RequestBody LoginRequestDto loginRequest) {
.path("/")
.domain(domain)
.httpOnly(true)
.secure(true)
.secure(false)
.sameSite(Cookie.SameSite.NONE.attributeValue()) //서드파티 쿠키 사용 허용
.build();

Expand Down Expand Up @@ -83,7 +83,7 @@ public ResponseEntity<?> reissue(@CookieValue("refresh-token") String requestRef
.path("/")
.domain(domain)
.httpOnly(true)
.secure(true)
.secure(false)
.sameSite(Cookie.SameSite.NONE.attributeValue())
.build();

Expand Down

0 comments on commit f9f28b9

Please sign in to comment.