File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/com/example/log4u/common/oauth2/jwt Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,11 @@ private void doFilter(
6666
6767 private boolean shouldSkipFilter (String requestUri ) {
6868 // logout 검사
69- return !requestUri .matches ("^\\ /logout$" )
70- || requestUri .matches ("^/oauth2(/.*)?$" )
71- || requestUri .matches ("^/swagger-ui(/.*)?$" )// Swagger UI 예외 처리
72- || requestUri .matches ("^/v3/api-docs(/.*)?$" ); // OpenAPI 문서 예외 처리
69+ return // /oauth2/logout 만 필터 통과 대상으로 허용
70+ !requestUri .equals ("/oauth2/logout" )
71+ || requestUri .matches ("^/oauth2(/.*)?$" )
72+ || requestUri .matches ("^/swagger-ui(/.*)?$" )// Swagger UI 예외 처리
73+ || requestUri .matches ("^/v3/api-docs(/.*)?$" ); // OpenAPI 문서 예외 처리
7374 }
7475
7576 private boolean validateTokenExpiration (
You can’t perform that action at this time.
0 commit comments