Skip to content

Commit

Permalink
Fix : DIG-66 Access, Refresh Token 인증 실패 응답 값 통일
Browse files Browse the repository at this point in the history
- 우선적으로 Access인지 Refresh인지 구분만 하도록 구현
  • Loading branch information
dunowljj committed Nov 13, 2023
1 parent 4ddd9d3 commit 4cb820f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
} catch (JwtException jwtException) {
authenticationEntryPoint.commence(
request, response,
new AccessTokenException(ErrorCode.ACCESS_TOKEN_AUTHENTICATION_FAIL.getMessage() + SPACE + jwtException.getMessage())
new AccessTokenException(ErrorCode.ACCESS_TOKEN_AUTHENTICATION_FAIL.getMessage())
);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
} catch (JwtException jwtException) {
authenticationEntryPoint.commence(
request, response,
new RefreshTokenException(ErrorCode.ACCESS_TOKEN_AUTHENTICATION_FAIL.getMessage() + SPACE + jwtException.getMessage())
new RefreshTokenException(ErrorCode.ACCESS_TOKEN_AUTHENTICATION_FAIL.getMessage())
);
}
}
Expand Down

0 comments on commit 4cb820f

Please sign in to comment.