Skip to content

Commit

Permalink
Merge pull request #54 from dionisos198/bug/#42-fix-undefined-refresh…
Browse files Browse the repository at this point in the history
…token

Refactor: set cookie domain .localhost (#42)
  • Loading branch information
dionisos198 authored Jun 27, 2024
2 parents df5e279 + c83c949 commit 57b05eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private ResponseCookie makeResponseCookie(String refreshToken,Long refreshTokenV
.httpOnly(false)// true 시 자바스크립트에서 쿠키 접근 불가 따라서 XSS 공격 방지
.secure(true)//true 시 HTTPS 연결을 통해서만 전달 .
.path("/")
.domain("localhost")
.domain(".localhost")
.maxAge(refreshTokenValidationTime)
.sameSite("None")
.build();
Expand Down

0 comments on commit 57b05eb

Please sign in to comment.