Refresh Token 기반 토큰 재발급 API 추가#230
Merged
Merged
Conversation
📊 코드 커버리지 리포트
|
Goder-0
reviewed
May 20, 2026
2e45591 to
74b5ffd
Compare
Contributor
|
@ckdals4600 머지 후에 Team-SoFa/linkiving#504 에 코멘트로 @Seong-Myeong 멘션 부탁드립니다. |
- JWT 검증 파이프라인 최적화
74b5ffd to
b96d786
Compare
Contributor
Author
|
@Seong-Myeong 토큰 재발급 API 추가 완료하였습니다. 확인 부탁드립니다. |
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.
관련 이슈
PR 설명
유효한 Refresh Token을 기반으로 새로운 토큰을 재발급하는 Reissue API를 구현
작업 내용
1. 토큰 재발급 API 구현 (
AuthController,AuthApi)POST /v1/auth/reissuerefreshToken)를 읽어들여 검증을 수행하고, 새로운 토큰 쌍을 다시 쿠키로 응답하도록 컨트롤러 계층을 구성2. 비즈니스 로직 및 RTR 정책 적용 (
AuthService)reissue메서드를 통해 전달받은 Refresh Token의 서명과 만료 여부를 검증3. Cookie 설정 로직 공통화 및 리팩토링 (
CookieUtils,OAuth2SuccessHandler)OAuth2SuccessHandler내부에 종속되어 있던Set-Cookie로직을 분리하여CookieUtils컴포넌트로 유틸화OAuth2SuccessHandler와AuthController가 동일한CookieUtils를 참조하도록 하여 응답 일관성 유지