Open
Conversation
Federico-15
approved these changes
Dec 9, 2025
Federico-15
left a comment
There was a problem hiding this comment.
안녕하세요 고토님! 10주차 미션 수행하느라 고생하셨습니다!!
개인프로젝트에서 진행중이신 JWT 로직을 활용해서 미션 제출해주신 것 같습니다! JWT 기반 인증/인가를 충실히 구현하고 있습니다. 특히 Refresh Token을 재사용하지 않고 갱신하며, 기존 토큰을 DB에서 지우는 로직을 통해 보안성을 높이려 한 것 같습니다. 좋습니다.
다만, JWT를 왜 쓰는지 생각해보면, 결국 서버의 상태 관리를 최소화(Stateless)하고 빠른 처리 속도를 확보하기 위함이 가장 클 것 입니다.
그런 관점에서 현재 구현하신 RDB 기반의 토큰 저장 방식도 좋지만, 추후 팀 프로젝트에서는 In-Memory 기반이라 속도가 빠르고, TTL(자동 삭제) 기능이 있는 Redis를 도입해 보시는 것도 추천드립니다!
참고 레퍼런스 : https://eatit.tistory.com/76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 몇 주차 워크북인가요?
✨ 이번 주에 작업한 내용
🙋 리뷰 요청/확인 받고 싶은 부분
✅ 체크리스트
weekN/폴더 안에 과제 정리 완료[WeekN] 닉네임/이름 미션 제출규칙 맞게 작성