Skip to content

Commit

Permalink
hotfix: updated AT expired time
Browse files Browse the repository at this point in the history
  • Loading branch information
thguss committed Nov 5, 2024
1 parent 778381d commit 596fdc2
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 @@
public class TokenGenerator {
private final SecretKeyFactory secretKeyFactory;

private static final Long ACCESS_TOKEN_EXPIRATION_TIME = 60 * 60 * 1000 * 2 * 12 * 1000000L;
private static final Long REFRESH_TOKEN_EXPIRATION_TIME = 60 * 60 * 1000 * 24 * 14L;
private static final Long ACCESS_TOKEN_EXPIRATION_TIME = 60 * 60 * 1000 * 2L; // 2시간
private static final Long REFRESH_TOKEN_EXPIRATION_TIME = 60 * 60 * 1000 * 24 * 14L; // 2주

public String generateAccessToken(long memberId) {
val authentication = UserAuthentication.create(memberId);
Expand Down

0 comments on commit 596fdc2

Please sign in to comment.