Skip to content

Commit

Permalink
Merge pull request #27 from mju-likelion/feature/login-cookie-error-#24
Browse files Browse the repository at this point in the history
Feature/#24 로그인 시 Cookie 설정 문제
  • Loading branch information
Dh3356 authored Feb 27, 2024
2 parents 2eae06f + b7780d2 commit a3204fe
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 a3204fe

Please sign in to comment.