diff --git a/src/main/java/Chaeda_spring/global/security/jwt/service/JwtTokenService.java b/src/main/java/Chaeda_spring/global/security/jwt/service/JwtTokenService.java index cbc3ba6..ce50858 100644 --- a/src/main/java/Chaeda_spring/global/security/jwt/service/JwtTokenService.java +++ b/src/main/java/Chaeda_spring/global/security/jwt/service/JwtTokenService.java @@ -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); } }