fix: 리프레시 쿠키 만료일 문제 수정 (#103) #104
Merged
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.
📌 작업 내용 및 특이사항
✅ 리프레시 쿠키 만료일 문제 해결
RedisTTL이 7일로 설정되지만 리프레시 쿠키의 경우 10분으로 설정되는 문제를 발견했습니다.Max-Age를RedisTTL과 동일하게milliseconds로 설정했지만, 쿠키의Max-Age는 HTTP 표준(RFC 6265)에 따라 초 단위로 정의되고, 브라우저는 초 단위로만 쿠키를 처리한다고 합니다.이를 반영해
Duration.ofMillis()대신Duration.ofSeconds()를 사용해 설정값(초 단위)을 그대로 전달하도록 수정했습니다.🌱 관련 이슈
🔍 참고사항(선택)
📚 기타(선택)