Skip to content

Commit

Permalink
Merge pull request #158 from JNU-econovation/feat-cookie
Browse files Browse the repository at this point in the history
fix: RT log 추가
  • Loading branch information
pyg410 authored Apr 11, 2024
2 parents ddafba7 + fe47255 commit acd503d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public ResponseEntity<ApiResult<LoginResDTO>> login(HttpServletResponse response
// access token 재발급
@PostMapping("/access-token")
public ResponseEntity<ApiResult<AccessTokenResDTO>> refreshToken(@CookieValue(value = "refresh-token") String refreshToken) {
log.info("refresh-token : {}", refreshToken);
WrapAccessTokenResDTO wrapAccessTokenResDTO = refreshTokenService.renewAccessToken(refreshToken);
return ResponseEntity.ok()
.header(HttpHeaders.AUTHORIZATION, wrapAccessTokenResDTO.accessToken())
Expand Down

0 comments on commit acd503d

Please sign in to comment.