Skip to content

Commit 0588366

Browse files
committed
fix: 서버 설정 확인을 위한 SecurityConfig 수정 (#4)
1 parent 74c8174 commit 0588366

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/com/project/mapdagu/config/SecurityConfig.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ public SecurityFilterChain filterChain(HttpSecurity http, HandlerMappingIntrospe
6666
.requestMatchers(mvcMatcherBuilder.pattern("/images/**")).permitAll()
6767
.requestMatchers(mvcMatcherBuilder.pattern("/index.html")).permitAll()
6868
.anyRequest().authenticated())
69-
.oauth2Login(oauth2Login -> oauth2Login.successHandler(oAuth2LoginSuccessHandler)
70-
.failureHandler(oAuth2LoginFailureHandler)
69+
.oauth2Login(oauth2Login -> oauth2Login
70+
// successHandler(oAuth2LoginSuccessHandler)
71+
// .failureHandler(oAuth2LoginFailureHandler)
7172
.userInfoEndpoint(userInfoEndPoint -> userInfoEndPoint.userService(customOauth2UserService)))
7273
.addFilterAfter(customJsonUsernamePasswordAuthenticationFilter(), LogoutFilter.class)
7374
.addFilterBefore(jwtAuthenticationProcessingFilter(), CustomJsonAuthenticationFilter.class);

0 commit comments

Comments
 (0)