Skip to content

Commit

Permalink
update main
Browse files Browse the repository at this point in the history
  • Loading branch information
don9m1n committed Dec 21, 2023
1 parent d61f41d commit 08fcbd4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo

private static String createCookie(String name, String value) {
return ResponseCookie.from(name, value)
.domain("localhost")
.path("/")
.httpOnly(true)
.sameSite("None")
//.sameSite("None") // https 환경에서 활성화
//.secure(false) // https 환경에서 활성화
.build()
.toString();
}
Expand Down

0 comments on commit 08fcbd4

Please sign in to comment.