Skip to content

Commit

Permalink
bug: 401해결위한 리프레시 토큰 만료기한 임의 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pyg410 authored Apr 9, 2024
1 parent 92b9214 commit e74fe54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class JwtProvider {
private static String secretKey;
public static final String PREFIX = "Bearer ";
private static final Long HOUR = 1000L * 60 * 60;
private static final Long HOUR = 1000L * 60; // 1분으로 변경
private static final Long ACCESS_TOKEN_EXP_MS = HOUR; // 1시간
private static final Long REFRESH_TOKEN_EXP_MS = 24 * HOUR * 14; // 2주

Expand Down

0 comments on commit e74fe54

Please sign in to comment.