Skip to content

Commit

Permalink
Deploy : logging test
Browse files Browse the repository at this point in the history
  • Loading branch information
404-not-foundl committed Mar 29, 2024
1 parent 52cefb6 commit 7affbfa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ private String generateToken(String uuid, long tokenValidTime, String secretKey)
*/
private void addCookie(String tokenType, ServerWebExchange exchange, String jwt, long expireTime) {
ResponseCookie cookie = ResponseCookie.from(tokenType, jwt)
.httpOnly(true)
.httpOnly(false)
.secure(true)
.sameSite("None")
.path("/")
.maxAge(expireTime / 1000)
.build();
Expand Down

0 comments on commit 7affbfa

Please sign in to comment.