Skip to content

Commit

Permalink
Fix: response header bearer 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
sejoon00 committed Jun 10, 2024
1 parent 23c11be commit c273f17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ public AccessTokenDto retrieveAccessToken(String accessTokenValue) {
}

public void setHeaderAccessToken(HttpServletResponse response, String accessToken) {
response.setHeader("authorization", "bearer " + accessToken);
response.setHeader("authorization", accessToken);
}

public void setHeaderRefreshToken(HttpServletResponse response, String refreshToken) {
response.setHeader("refreshToken", "bearer " + refreshToken);
response.setHeader("refreshToken", refreshToken);
}

}

0 comments on commit c273f17

Please sign in to comment.