From 27fbe2b4345c33d47203379348bf7b739a0f50d6 Mon Sep 17 00:00:00 2001 From: ChoiBoKeun1 <136104922+ChoiBoKeun1@users.noreply.github.com> Date: Wed, 9 Jul 2025 16:59:12 +0900 Subject: [PATCH 1/4] =?UTF-8?q?[fix]=20spring-boot-starter-oauth2-client?= =?UTF-8?q?=20=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gathering_be/build.gradle | 1 - 1 file changed, 1 deletion(-) diff --git a/Gathering_be/build.gradle b/Gathering_be/build.gradle index c6ab5f0..575ef4e 100644 --- a/Gathering_be/build.gradle +++ b/Gathering_be/build.gradle @@ -53,7 +53,6 @@ dependencies { implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate6' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' - implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' } tasks.named('test') { From d16890829e7b700ef06cd7336808fa503435badb Mon Sep 17 00:00:00 2001 From: ChoiBoKeun1 <136104922+ChoiBoKeun1@users.noreply.github.com> Date: Wed, 9 Jul 2025 17:04:56 +0900 Subject: [PATCH 2/4] =?UTF-8?q?[fix]=20spring-boot-starter-oauth2-client?= =?UTF-8?q?=20=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=A0=9C=EA=B1=B0=202nd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/Gathering_be/global/config/SecurityConfig.java | 1 - 1 file changed, 1 deletion(-) diff --git a/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java b/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java index c22fada..d2b5427 100644 --- a/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java +++ b/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java @@ -77,7 +77,6 @@ public SecurityFilterChain apiFilterChain(HttpSecurity httpSecurity) throws Exce .requestMatchers(PERMITTED_API_URL).permitAll() .anyRequest().authenticated() ) - .oauth2Login(Customizer.withDefaults()) .sessionManagement(sessionManagement -> sessionManagement.sessionCreationPolicy(SessionCreationPolicy.STATELESS) ) From 53dbac188fc4094e8505debb412d0c8235581c0d Mon Sep 17 00:00:00 2001 From: ChoiBoKeun1 <136104922+ChoiBoKeun1@users.noreply.github.com> Date: Wed, 9 Jul 2025 17:05:50 +0900 Subject: [PATCH 3/4] =?UTF-8?q?[fix]=20spring-boot-starter-oauth2-client?= =?UTF-8?q?=20=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=A0=9C=EA=B1=B0=203rd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/Gathering_be/global/config/SecurityConfig.java | 1 - 1 file changed, 1 deletion(-) diff --git a/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java b/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java index d2b5427..5be2d87 100644 --- a/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java +++ b/Gathering_be/src/main/java/com/Gathering_be/global/config/SecurityConfig.java @@ -9,7 +9,6 @@ import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.annotation.Order; -import org.springframework.security.config.Customizer; import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; From 32ed51f7a9bece0d76dc225f7ac47f4d0a8a1f9f Mon Sep 17 00:00:00 2001 From: ChoiBoKeun1 <136104922+ChoiBoKeun1@users.noreply.github.com> Date: Wed, 9 Jul 2025 18:13:51 +0900 Subject: [PATCH 4/4] =?UTF-8?q?[fix]=20=EB=B0=B0=ED=8F=AC=EC=84=9C?= =?UTF-8?q?=EB=B2=84=20oauth2-client=20=EC=9D=98=EC=A1=B4=EC=84=B1=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gathering_be/src/main/resources/application-prod.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Gathering_be/src/main/resources/application-prod.yml b/Gathering_be/src/main/resources/application-prod.yml index 6449b98..cd52d16 100644 --- a/Gathering_be/src/main/resources/application-prod.yml +++ b/Gathering_be/src/main/resources/application-prod.yml @@ -28,18 +28,6 @@ spring: mail.smtp.auth: true mail.smtp.starttls.enable: true - security: - oauth2: - client: - registration: - google: - client-id: ${PROD_GOOGLE_CLIENT_ID} - client-secret: ${PROD_GOOGLE_CLIENT_SECRET} - redirect-uri: https://gathering.work/auth/google/callback - scope: - - profile - - email - jwt: secret: ${PROD_JWT_SECRET} token-validity-in-seconds: 3600