Skip to content

Commit

Permalink
refactor : 리프레시 토큰 유효성 검사 수정 #15
Browse files Browse the repository at this point in the history
  • Loading branch information
PicturePark1101 committed May 30, 2024
1 parent 77e96d3 commit 347d842
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public RegenerateAccessTokenResponseDto getNewAccessToken(
Token token = getRefreshToken(refreshToken);

// 존재하는 토큰이 유효한 토큰인지(제대로 된 토큰인지) 다시 검증
jwtTokenProvider.validateToken(refreshToken);
jwtTokenProvider.validateToken(token.getRefreshToken());

// 유효하다면 액세스 토큰 재발급
String accessToken = jwtTokenProvider.issueAccessToken(
Expand Down

0 comments on commit 347d842

Please sign in to comment.