Skip to content

Commit

Permalink
JWT 토큰 생명주기 수정 (#60)
Browse files Browse the repository at this point in the history
- 액세스 토큰의 생명 주기 30분으로 다시 수정
  • Loading branch information
ysw789 authored Sep 25, 2024
1 parent 025ebf2 commit 7d2f239
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public class JwtTokenProvider {

private final Key key;
private final long ACCESSTOKEN_VALIDTIME = 30L * 24 * 60 * 60 * 1000; // 30분 // 테스트 위해 1달로 설정
private final long ACCESSTOKEN_VALIDTIME = 30 * 60 * 1000L; // 30분
private final long REFRESHTOKEN_VALIDTIME = 7L * 24 * 60 * 60 * 1000; // 7일

private final CustomUserDetailsService customUserDetailsService;
Expand Down

0 comments on commit 7d2f239

Please sign in to comment.