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.
🔥 Related Issue
close: #110
📝 Description
퇴근하고 프로젝트를 켜서 확인해보니, 엑세스 토큰이 만료되었을 때, 아예 accessToken과 refreshToken Cookie 값이 사라지는 문제점을 발견했습니다.
테스트 코드의 미작성으로 인한 문제점이라고도 볼 수 있어, 추후 작성해봐야 할 것 같습니다.
문제점은 GenericFilterBean이였습니다.
필터가 두번 실행되므로, 레디스에 저장된 refreshToken과 새로 발행한 refreshToken이 같지 않게 되면서,
쿠키를 모두 초기화시켜버린 것이였습니다.
서칭해서 찾은 정보로는 이런 문제점이 있었습니다.
⭐️ Review