diff --git a/src/main/java/com/bit/lot/flower/auth/common/security/IssueRefreshRefreshTokenInCookie.java b/src/main/java/com/bit/lot/flower/auth/common/security/IssueRefreshRefreshTokenInCookie.java index da79a57..353ddcc 100644 --- a/src/main/java/com/bit/lot/flower/auth/common/security/IssueRefreshRefreshTokenInCookie.java +++ b/src/main/java/com/bit/lot/flower/auth/common/security/IssueRefreshRefreshTokenInCookie.java @@ -29,8 +29,8 @@ public void createRefreshToken(String userId, HttpServletResponse response) { String refreshToken = JwtUtil.generateRefreshToken(String.valueOf(userId)); redisRefreshTokenUtil.saveRefreshToken(userId, refreshToken, Long.parseLong(SecurityPolicyStaticValue.REFRESH_EXPIRATION_TIME)); - response.addCookie(CookieUtil.createCookie(refreshCookieName, refreshToken, - lifeTime.intValue(), domain)); +// response.addCookie(CookieUtil.createCookie(refreshCookieName, refreshToken, +// lifeTime.intValue(), domain)); } @Override diff --git a/src/main/java/com/bit/lot/flower/auth/common/service/RenewRefreshTokenWhenRefreshTokenIsMatchedCookieAndRedis.java b/src/main/java/com/bit/lot/flower/auth/common/service/RenewRefreshTokenWhenRefreshTokenIsMatchedCookieAndRedis.java index d2fb252..69a3470 100644 --- a/src/main/java/com/bit/lot/flower/auth/common/service/RenewRefreshTokenWhenRefreshTokenIsMatchedCookieAndRedis.java +++ b/src/main/java/com/bit/lot/flower/auth/common/service/RenewRefreshTokenWhenRefreshTokenIsMatchedCookieAndRedis.java @@ -3,7 +3,6 @@ import com.bit.lot.flower.auth.common.exception.AuthException; import com.bit.lot.flower.auth.common.security.TokenHandler; import com.bit.lot.flower.auth.common.util.CookieUtil; -import com.bit.lot.flower.auth.common.util.ExtractAuthorizationTokenUtil; import com.bit.lot.flower.auth.common.util.JwtUtil; import com.bit.lot.flower.auth.common.util.RedisBlackListTokenUtil; import com.bit.lot.flower.auth.common.util.RedisRefreshTokenUtil;