diff --git a/src/main/java/org/sopt/sweet/domain/member/service/OAuthService.java b/src/main/java/org/sopt/sweet/domain/member/service/OAuthService.java index 47d9412..27f3a46 100644 --- a/src/main/java/org/sopt/sweet/domain/member/service/OAuthService.java +++ b/src/main/java/org/sopt/sweet/domain/member/service/OAuthService.java @@ -134,7 +134,7 @@ public MemberTokenResponseDto saveToken(Long memberId) { refreshToken = storedRefreshToken; } else { refreshToken = issueNewRefreshToken(memberId); - redisTemplate.opsForValue().set(redisKey, refreshToken, 1, TimeUnit.HOURS); + redisTemplate.opsForValue().set(redisKey, refreshToken, 7, TimeUnit.DAYS); } System.out.println("카카오 로그인 성공 memberId: " + memberId + " accessToken :" + accessToken + " refreshToken: " + refreshToken);