File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/example/log4u/common/config Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
7070 .addFilterBefore (new JwtAuthenticationFilter (jwtUtil , userService ), OAuth2LoginAuthenticationFilter .class )
7171 .addFilterBefore (new JwtLogoutFilter (jwtUtil , refreshTokenRepository ), LogoutFilter .class )
7272 .logout (logout ->
73- logout .logoutUrl ("/logout" )
73+ logout .logoutUrl ("/oauth2/ logout" )
7474 .logoutRequestMatcher (new OrRequestMatcher (
75- new AntPathRequestMatcher ("/logout" , "POST" ),
76- new AntPathRequestMatcher ("/logout" , "GET" )
75+ new AntPathRequestMatcher ("/oauth2/ logout" , "POST" ),
76+ new AntPathRequestMatcher ("/oauth2/ logout" , "GET" )
7777 )) // POST와 GET 요청 모두 허용
7878 .logoutSuccessHandler ((request , response , authentication ) -> {
7979 response .setStatus (HttpServletResponse .SC_OK );
You can’t perform that action at this time.
0 commit comments