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.
💡 ISSUE
✅ KEY-CHANGES
1️⃣ 회원가입, 로그인 로직 추가
-> 소셜 로그인으로 바꾸는 작업 중입니다.
2️⃣ 로그인 과정
3️⃣ Refresh Token Rotate 구현
매 Reissue마다 새 Refresh Token을 발급해 반환하여 인증의 주도권을 서버가 가지게 하고, 새 Refresh Token은 DB에 저장됩니다.
@scheduled를 사용해 24시간마다 만료된 토큰을 DB에서 제거하도록 했습니다.
추후 Redis를 사용한다면 TTL설정으로 자동으로 지워지게 할 예정입니다.
4️⃣ Logout Filter 추가
Logout Filter를 추가하여 현재 사용 중인 Refresh Token을 제거하고 빈 쿠키를 리턴하게 하였습니다.
💬 TO REVIEWER
이거 마무리 하고 restdocs도 공부해서 만간에 업데이트 해 놓겠습니다,,
예외 처리를 너무 이상하게 해 놓았는데 기능 구현 어느 정도 진행하고 싹 다 뜯어 고치겠습니다..