Skip to content

Commit

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

refactor: 로컬 테스트를 위한 쿠키 삭제
  • Loading branch information
anselmo228 authored Nov 28, 2024
2 parents 3595abb + ea2d7d1 commit 83f16a6
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 83f16a6

Please sign in to comment.