diff --git a/Gathering_be/src/main/java/com/Gathering_be/global/jwt/JwtTokenProvider.java b/Gathering_be/src/main/java/com/Gathering_be/global/jwt/JwtTokenProvider.java index a0d0b37..4144fff 100644 --- a/Gathering_be/src/main/java/com/Gathering_be/global/jwt/JwtTokenProvider.java +++ b/Gathering_be/src/main/java/com/Gathering_be/global/jwt/JwtTokenProvider.java @@ -32,7 +32,7 @@ public JwtTokenProvider( ObjectMapper objectMapper) { this.key = Keys.hmacShaKeyFor(secretKey.getBytes()); this.tokenValidityInMilliseconds = tokenValidityInSeconds * 1000 * 30; - this.refreshTokenValidityInMilliseconds = tokenValidityInSeconds * 14 * 24 * 60 * 60 * 1000; + this.refreshTokenValidityInMilliseconds = tokenValidityInSeconds * 14 * 24 * 60 * 1000; this.objectMapper = objectMapper; } diff --git a/Gathering_be/src/main/resources/application-prod.yml b/Gathering_be/src/main/resources/application-prod.yml index cd52d16..4f9aa21 100644 --- a/Gathering_be/src/main/resources/application-prod.yml +++ b/Gathering_be/src/main/resources/application-prod.yml @@ -30,7 +30,7 @@ spring: jwt: secret: ${PROD_JWT_SECRET} - token-validity-in-seconds: 3600 + token-validity-in-seconds: 60 springdoc: swagger-ui: