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

[#341] 로그아웃 기능 구현 및 필터 예외 처리 #342

Merged
merged 5 commits into from
Oct 6, 2023

Conversation

gkfktkrh153
Copy link
Member

@gkfktkrh153 gkfktkrh153 commented Oct 6, 2023

Issue

Issue 내용

  • 저장소(Redis)에 PK를 key값으로 RefreshToken이 등록 돼 있으면 로그인한 것으로 간주합니다.
  • 이에 따라 유효한 accessToken을 가지고 접근했을 때에도 로그아웃 처리 돼 있다면 만료된 토큰으로 예외 처리합니다.
  • 기존의 GlobalExceptionHandler는 컨트롤러 단의 예외를 처리하는 것으로 Filter예외 처리를 따로 작성했습니다.
  • 이미 존재하는 아이디에 대한 처리를 하는 메서드명을 수정했습니다. isExistId

@gkfktkrh153 gkfktkrh153 added the 🚀 Feature New feature or request label Oct 6, 2023
@gkfktkrh153 gkfktkrh153 self-assigned this Oct 6, 2023
Copy link
Member

@angelSuho angelSuho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

로그아웃 로직 확인하였습니다.

@angelSuho angelSuho merged commit 208fcf9 into development Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants