Skip to content

Commit

Permalink
Merge pull request #227 from 100-hours-a-week/test/secure-and-sameSite
Browse files Browse the repository at this point in the history
test: secure and same site 설정 복구
  • Loading branch information
49EHyeon42 authored Sep 25, 2024
2 parents f3b3737 + 49e1410 commit 3585a39
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ public void kakaoLogin(

try {
if (tokenDto.isFirstLogin()) {
// ResponseCookie tempTokenCookie = ResponseCookie.from("tempToken", tokenDto.getTempToken())
// .path("/")
// .httpOnly(true)
// .maxAge(tokenDto.getTempTokenExpirationTime())
// .sameSite("None")
// .secure(true)
// .build();

// httpServletResponse.addHeader("Set-Cookie", tempTokenCookie.toString());

Cookie tempTokenCookie = new Cookie("tempToken", tokenDto.getTempToken());
tempTokenCookie.setPath("/");
tempTokenCookie.setMaxAge(tokenDto.getTempTokenExpirationTime());
Expand Down

0 comments on commit 3585a39

Please sign in to comment.