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 6d30cdf commit e3790c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ public JwtProvider(JjakkakProperties jjakkakProperties, TokenProperties tokenPro
*/
public String createAccessToken(String kakaoId) {

// Date expiredDate = Date.from(Instant.now().plus(accessTokenExpirationDay, ChronoUnit.DAYS));
Date expiredDate = Date.from(Instant.now().plus(accessTokenExpirationDay, ChronoUnit.DAYS));

// fixme: 테스트를 위해 AT 만료시간 3분으로 설정함!
Date expiredDate = Date.from(Instant.now().plus(3, 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 e3790c3

Please sign in to comment.