From fce8ee451fc52f25b625bafac71174583261a91d Mon Sep 17 00:00:00 2001 From: seungnYong <77851079+gkfktkrh153@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:03:32 +0900 Subject: [PATCH 1/3] Update TripApplication.java --- src/main/java/com/api/trip/TripApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/api/trip/TripApplication.java b/src/main/java/com/api/trip/TripApplication.java index 435618d..e897611 100644 --- a/src/main/java/com/api/trip/TripApplication.java +++ b/src/main/java/com/api/trip/TripApplication.java @@ -4,7 +4,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class TripApplication { +public class TripApplication { // public static void main(String[] args) { SpringApplication.run(TripApplication.class, args); From 03de10706cc4d3d512f8eeb4d37c1c92085219e7 Mon Sep 17 00:00:00 2001 From: seungnYong <77851079+gkfktkrh153@users.noreply.github.com> Date: Tue, 19 Dec 2023 21:52:41 +0900 Subject: [PATCH 2/3] Update TripApplication.java --- src/main/java/com/api/trip/TripApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/api/trip/TripApplication.java b/src/main/java/com/api/trip/TripApplication.java index e897611..65b3013 100644 --- a/src/main/java/com/api/trip/TripApplication.java +++ b/src/main/java/com/api/trip/TripApplication.java @@ -4,7 +4,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -public class TripApplication { // +public class TripApplication { public static void main(String[] args) { SpringApplication.run(TripApplication.class, args); From 08fcbd473a4dac9f6ea69b846dc79f4f4679b8f4 Mon Sep 17 00:00:00 2001 From: Dongmin Kim Date: Thu, 21 Dec 2023 15:54:05 +0900 Subject: [PATCH 3/3] update main --- .../api/trip/common/security/oauth/OAuthSuccessHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/api/trip/common/security/oauth/OAuthSuccessHandler.java b/src/main/java/com/api/trip/common/security/oauth/OAuthSuccessHandler.java index 88ff55c..1bf5008 100644 --- a/src/main/java/com/api/trip/common/security/oauth/OAuthSuccessHandler.java +++ b/src/main/java/com/api/trip/common/security/oauth/OAuthSuccessHandler.java @@ -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(); }