From da542360118341df794b86c3f6bdf17e7be0a859 Mon Sep 17 00:00:00 2001 From: songhaechan Date: Mon, 19 Aug 2024 22:31:21 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20=EC=9B=90=EB=9E=98=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20base=20url=EB=A1=9C=20=ED=9A=8C=EA=B7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../amorgakco/backend/global/config/SecurityConfig.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java b/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java index b07a09d..1bec6bc 100644 --- a/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java +++ b/src/main/java/com/amorgakco/backend/global/config/SecurityConfig.java @@ -52,11 +52,8 @@ public SecurityFilterChain securityFilterChain(final HttpSecurity http) throws E .sessionManagement(c -> c.sessionCreationPolicy(SessionCreationPolicy.STATELESS)) .oauth2Login( oauth -> - { - oauth.userInfoEndpoint(c -> c.userService(oauth2UserService)) - .successHandler(oauth2SuccessHandler); - oauth.authorizationEndpoint(c->c.baseUri("/api/auth/callback")); - }) + oauth.userInfoEndpoint(c -> c.userService(oauth2UserService)) + .successHandler(oauth2SuccessHandler)) .addFilterBefore( jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class) .addFilterBefore(jwtExceptionHandlingFilter, JwtAuthenticationFilter.class)