woowacourse-teams/2023-dong-gle

Interceptor Path 검증에서 AccessToken 재발행이 안되는 버그 수정

Closed this issue · 0 comments

⏰ Estimated Time

0.5

🛠️ Description

registry.addInterceptor(new AuthInterceptor(jwtTokenProvider))
                .addPathPatterns("/member/**", "/writings/**", "/categories/**", "/trash/**", "/connections/**", "/auth/**")
                .excludePathPatterns("/connections/**/redirect", "/auth/login/**")
                .order(2);

AuthInterceptor에서 제외하는 패턴에 auth/refresh/token이 없어서 재발행이 안되는 상황

✅ Tasks

  • excludePathPatterns에 "/auth/refresh/token" 추가

📝 Note

No response