Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JwtAuthenticationFilter 에러 핸들링 #114

Open
hcpak opened this issue Mar 16, 2021 · 0 comments
Open

JwtAuthenticationFilter 에러 핸들링 #114

hcpak opened this issue Mar 16, 2021 · 0 comments

Comments

@hcpak
Copy link
Contributor

hcpak commented Mar 16, 2021

🗣 설명

JwtAuthenticationFilter에서 발생한 에러들은 전역에서 에러를 잡아주는 @ControllerAdvice로 가지 않은 거 같다. 따라서 임시로 try catch문을 통해 accessToken이 만료되었을 때 401 unauthorize 상태 코드를 보내주도록 만들었다.

📋 체크리스트

구현해야하는 이슈 체크리스트

  1. JwtAuthenticationFilter의 try catch문을 refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant