Skip to content

Commit

Permalink
[#85] Refactor: JWT Access Token 만료시간 2시간으로 롤백
Browse files Browse the repository at this point in the history
  • Loading branch information
tkguswls1106 committed May 23, 2024
1 parent 72fafe4 commit cd22c84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ 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 * 10; // 10분
private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 120; // 120분 = 2시간
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 1440 * 14; // 1440분 x 14 = 24시간 x 14 = 14일 = 2주
private final Key key;

Expand Down

0 comments on commit cd22c84

Please sign in to comment.