Skip to content

Commit

Permalink
chore: 액세스토큰 유효기간 20초로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dooboocookie authored Nov 5, 2023
1 parent 35e629f commit 38eb86b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
@Component
public class AuthTokenGenerator {

private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 365 * 100; // 100년
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 365 * 100; // 100년
private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000 * 20; // 20초
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000 * 60 * 60 * 24 * 14; // 14일

private final JwtProvider jwtProvider;

Expand Down

0 comments on commit 38eb86b

Please sign in to comment.