Skip to content

Commit

Permalink
feat: AT 만료시간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
f1v3-dev committed Nov 5, 2024
1 parent 98b973f commit bb02be2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public String createAccessToken(String kakaoId) {
// Date expiredDate = Date.from(Instant.now().plus(accessTokenExpirationDay, ChronoUnit.DAYS));

// fixme: 테스트를 위해 AT 만료시간 3분으로 설정함!
Date expiredDate = Date.from(Instant.now().plus(1, ChronoUnit.MINUTES));
Date expiredDate = Date.from(Instant.now().plus(3, ChronoUnit.MINUTES));

return Jwts.builder()
.signWith(key, SignatureAlgorithm.HS256)
Expand Down

0 comments on commit bb02be2

Please sign in to comment.