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

[#339] RefreshToken 검증 및 예외처리 #340

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

gkfktkrh153
Copy link
Member

@gkfktkrh153 gkfktkrh153 commented Oct 5, 2023

Issue

Issue 내용

  • refreshToken의 유효성 검증을 작성했습니다.
  • 이전 PR 내용 무시하시고 이걸로 이해하시면됩니다.
    -> 현재 DB에 있는 토큰과 요청으로 들어오는 토큰이 다르면 토큰 탈취로 간주합니다.
  • redis에서 사용자에 대한 key값을 날립니다. -> 로그아웃 처리(다음 이슈에서 처리하겠습니다.)
  • 에러 코드를 어떻게 해야 할 지 감이 안와서 일단 SNATCH_TOKEN으로 해두었습니다.

@gkfktkrh153 gkfktkrh153 added the 🚀 Feature New feature or request label Oct 5, 2023
@gkfktkrh153 gkfktkrh153 self-assigned this Oct 5, 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 0c84efc 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