Skip to content

Commit

Permalink
test: 액세스 토큰 만료시간 1분으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mingulmangul committed Nov 25, 2023
1 parent 2e44408 commit 48be352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/efub/dhs/global/jwt/utils/JwtUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class JwtUtils {

public static final String AUTH = "auth";
public static final String BEARER = "Bearer";
public static final Long ACCESS_TOKEN_EXPIRATION = Duration.ofMinutes(30).toMillis(); // 만료시간 30분
public static final Long ACCESS_TOKEN_EXPIRATION = Duration.ofMinutes(1).toMillis(); // 만료시간 30분
public static final Long REFRESH_TOKEN_EXPIRATION = Duration.ofDays(14).toMillis(); // 만료시간 2주

public static Claims parseClaims(SecretKey secretKey, String token) {
Expand Down

0 comments on commit 48be352

Please sign in to comment.