Skip to content

Commit

Permalink
Merge pull request #152 from Curate-Me/feature/#138-exception-filter-…
Browse files Browse the repository at this point in the history
…cookie

Refactor: 쿠키 부활
  • Loading branch information
devkeon authored Nov 28, 2024
2 parents 83f16a6 + 75e9855 commit b1f62b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse

SecurityContextHolder.getContext().setAuthentication(authentication);

// String refreshToken = jwtTokenUtil.extractRefreshToken(request).stream()
// .findAny()
// .orElseThrow(() -> new BusinessException(ApiStatus.REFRESH_TOKEN_NOT_FOUND));
String refreshToken = jwtTokenUtil.extractRefreshToken(request).stream()
.findAny()
.orElseThrow(() -> new BusinessException(ApiStatus.REFRESH_TOKEN_NOT_FOUND));

response.setHeader("Authorization", GRANT_TYPE + accessToken);

Expand Down

0 comments on commit b1f62b3

Please sign in to comment.