diff --git a/sunsu-wedding/src/main/java/com/kakao/sunsuwedding/_core/security/JWTProvider.java b/sunsu-wedding/src/main/java/com/kakao/sunsuwedding/_core/security/JWTProvider.java index 63d67c13..cda831f9 100644 --- a/sunsu-wedding/src/main/java/com/kakao/sunsuwedding/_core/security/JWTProvider.java +++ b/sunsu-wedding/src/main/java/com/kakao/sunsuwedding/_core/security/JWTProvider.java @@ -17,9 +17,9 @@ @Component public class JWTProvider { // access-token expire time = 2 min - public final Long ACCESS_TOKEN_EXP = 1000L * 60 * 2; + public final Long ACCESS_TOKEN_EXP = 1000L * 60 * 5; // refresh-token expire time = 3 min - public final Long REFRESH_TOKEN_EXP = 1000L * 60 * 3; + public final Long REFRESH_TOKEN_EXP = 1000L * 60 * 60 * 24 * 1; public final String TOKEN_PREFIX = "Bearer "; public final String AUTHORIZATION_HEADER = "Authorization"; public final String REFRESH_HEADER = "Refresh";