diff --git a/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java b/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java index 1ba1a21..d0847c1 100644 --- a/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java +++ b/src/main/java/com/nextroom/nextRoomServer/security/TokenProvider.java @@ -33,10 +33,10 @@ public class TokenProvider { private static final String AUTHORITIES_KEY = "auth"; private static final String BEARER_TYPE = "Bearer"; -// private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 2; // 2시간 -// private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 14일 - private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60; // 1분 - private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 3; // 3분 + // private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 2; // 2시간 + // private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 14일 + private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 5; // 5시간 + private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 30; // 30일 private final Key key;