Skip to content

Commit

Permalink
fix(#5) : 리프레시 만료 시간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
aeeazip committed Jul 31, 2023
1 parent d550f7d commit a296d74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/trothly/trothcam/service/JwtService.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class JwtService {
private final MemberRepository memberRepository;
private final UserDetailServiceImpl userDetailService;
private Long tokenValidTime = 1000L * 60 * 1; // 1m -> 테스트 이후 1h로 변경
private Long refreshTokenValidTime = 1000L * 60 * 1; // 1d -> 테스트 이후 7d로 변경
private Long refreshTokenValidTime = 1000L * 60 * 60 * 24; // 1d -> 테스트 이후 7d로 변경

// access token 생성
public String encodeJwtToken(TokenDto tokenDto) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spring:

oauth:
apple:
iss: https://appleid.apple.com
client-id: com.parkjju.trothcam
iss: ${APPLE_ISSUE}
client-id: ${APPLE_BUNDLE_ID}

jwt:
secret: ${JWT_SECRET}
Expand Down

0 comments on commit a296d74

Please sign in to comment.