Skip to content

Commit

Permalink
[REFACTOR] 클라이언트 테스트를 위해서 토큰 만료기한 1분으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sunseo18 committed Sep 28, 2023
1 parent 62342dd commit abab82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/indipage/org/indipage/auth/JwtProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public String issuedToken(String userId) {
final Date now = new Date();

final Claims claims = Jwts.claims().setSubject("access_token").setIssuedAt(now)
.setExpiration(new Date(now.getTime() + 3 * 60 * 1000L));
.setExpiration(new Date(now.getTime() + 1 * 60 * 1000L));

claims.put("userId", userId);

Expand Down

0 comments on commit abab82a

Please sign in to comment.