DB에 사용자가 존재하지 않는 경우 예외처리 #144
Unanswered
jaejae-yoo
asked this question in
회의 필요
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
문제 상황
토큰은 아직 만료되지 않았는데, 사용자가 탈퇴한 경우 DB에서는 사용자 정보가 삭제된다.
따라서 정상 토큰이므로 인터셉터와 토큰 검증 과정을 모두 통과하게 되는데, 현재 코드에서 존재하지 않는 사용자에 대한 예외 처리가 없습니다.
고민되는 부분
Beta Was this translation helpful? Give feedback.
All reactions