Skip to content

Commit

Permalink
refactor : CookieGenerateHelper httpOnly disable (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNM authored Feb 26, 2023
1 parent 5d175f3 commit 0dff948
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ public HttpHeaders getTokenCookies(TokenAndUserResponse tokenAndUserResponse) {
.path("/")
.maxAge(tokenAndUserResponse.getAccessTokenAge())
.sameSite(sameSite)
.httpOnly(true)
// .httpOnly(true)
.secure(true)
.build();
ResponseCookie refreshToken =
ResponseCookie.from("refreshToken", tokenAndUserResponse.getRefreshToken())
.path("/")
.maxAge(tokenAndUserResponse.getRefreshTokenAge())
.sameSite(sameSite)
.httpOnly(true)
// .httpOnly(true)
.secure(true)
.build();
HttpHeaders httpHeaders = new HttpHeaders();
Expand Down

0 comments on commit 0dff948

Please sign in to comment.