Skip to content

Commit

Permalink
refactor: 테스트 위해 secure 해제 - #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Dh3356 committed Feb 27, 2024
1 parent 13b03b3 commit b7780d2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public ResponseEntity<ResponseDto<Void>> login(AuthLoginRequestDto authLoginRequ
String jwtToken = jwtTokenProvider.generateToken(authentication).getAccessToken();

ResponseCookie cookie = ResponseCookie.from(ACCESS_TOKEN, JwtEncoder.encodeJwtBearerToken(jwtToken))
.secure(true)
.sameSite(String.valueOf(SameSite.NONE))
.maxAge(Duration.ofMinutes(cookieMaxAge))
.httpOnly(true)
Expand Down

0 comments on commit b7780d2

Please sign in to comment.