From a296d74c84f6122cf974721974e11474e891eba0 Mon Sep 17 00:00:00 2001 From: aeeazip Date: Mon, 31 Jul 2023 15:45:38 +0900 Subject: [PATCH] =?UTF-8?q?fix(#5)=20:=20=EB=A6=AC=ED=94=84=EB=A0=88?= =?UTF-8?q?=EC=8B=9C=20=EB=A7=8C=EB=A3=8C=20=EC=8B=9C=EA=B0=84=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/trothly/trothcam/service/JwtService.java | 2 +- src/main/resources/application-local.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/trothly/trothcam/service/JwtService.java b/src/main/java/trothly/trothcam/service/JwtService.java index 5733566..ab61077 100644 --- a/src/main/java/trothly/trothcam/service/JwtService.java +++ b/src/main/java/trothly/trothcam/service/JwtService.java @@ -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) { diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml index ec72d42..0c39332 100644 --- a/src/main/resources/application-local.yml +++ b/src/main/resources/application-local.yml @@ -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}