We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 689514f commit 9dfca47Copy full SHA for 9dfca47
src/main/java/com/example/log4u/common/oauth2/jwt/JwtLogoutFilter.java
@@ -72,15 +72,8 @@ private void doFilter(
72
}
73
74
private boolean shouldSkipFilter(String requestUri) {
75
- // /oauth2/logout 만 필터실행
76
- if ("/oauth2/logout".equals(requestUri)) {
77
- return false;
78
- }
79
-
80
- // 나머지는 다 통과
81
- return requestUri.startsWith("/swagger-ui")
82
- || requestUri.startsWith("/v3/api-docs")
83
- || requestUri.startsWith("/oauth2");
+ // /oauth2/logout 에 대해서만 실행되도록 함
+ return !"/oauth2/logout".equals(requestUri);
84
85
86
private boolean validateTokenExpiration(
0 commit comments