diff --git a/backend/src/main/java/com/now/naaga/auth/infrastructure/jwt/AuthTokenGenerator.java b/backend/src/main/java/com/now/naaga/auth/infrastructure/jwt/AuthTokenGenerator.java index 23062f740..1de0ef6dd 100644 --- a/backend/src/main/java/com/now/naaga/auth/infrastructure/jwt/AuthTokenGenerator.java +++ b/backend/src/main/java/com/now/naaga/auth/infrastructure/jwt/AuthTokenGenerator.java @@ -13,9 +13,9 @@ @Component public class AuthTokenGenerator { - - private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000L * 20; // 20초 - private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000L * 60 * 1; // 1분 + + private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 30; // 30일 + private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 30; // 30일 private final JwtProvider jwtProvider;