diff --git a/Briefing-Api/src/main/java/com/example/briefingapi/redis/service/RedisServiceImpl.java b/Briefing-Api/src/main/java/com/example/briefingapi/redis/service/RedisServiceImpl.java index 8d9ccce..e1d3b04 100644 --- a/Briefing-Api/src/main/java/com/example/briefingapi/redis/service/RedisServiceImpl.java +++ b/Briefing-Api/src/main/java/com/example/briefingapi/redis/service/RedisServiceImpl.java @@ -47,7 +47,7 @@ public RefreshToken generateRefreshToken(String socialId, SocialType socialType) LocalDateTime currentTime = LocalDateTime.now(); - LocalDateTime expireTime = currentTime.plus(90, ChronoUnit.SECONDS); + LocalDateTime expireTime = currentTime.plus(62, ChronoUnit.SECONDS); return refreshTokenRepository.save( RefreshToken.builder() diff --git a/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java b/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java index ad1f4d3..a1cb924 100644 --- a/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java +++ b/Briefing-Api/src/main/java/com/example/briefingapi/security/config/SecurityConfig.java @@ -82,7 +82,7 @@ public WebSecurityCustomizer webSecurityCustomizer() { "/schedule", "/v3/api-docs", "/v3/api-docs/**", - "/docs/**","/fcms/**","/members/auth/**", + "/docs/**","/fcms/**","/members/auth/**","/v2/members/auth/**", "/briefings/temp"); } diff --git a/Briefing-Api/src/main/resources/application.yml b/Briefing-Api/src/main/resources/application.yml index 5167afd..bd7503c 100644 --- a/Briefing-Api/src/main/resources/application.yml +++ b/Briefing-Api/src/main/resources/application.yml @@ -66,7 +66,7 @@ jwt: # dev server secret: ${JWT_SECRET} authorities-key: authoritiesKey - access-token-validity-in-seconds: 1210000000 # 30 m + access-token-validity-in-seconds: 30000 refresh-token-validity-in-seconds: 1210000000 # 14 d openai: @@ -119,7 +119,7 @@ jwt: secret: ${JWT_SECRET} # secret : ${JWT_SECRET} authorities-key: authoritiesKey - access-token-validity-in-seconds: 30 # 30 m + access-token-validity-in-seconds: 30000 # 30 m refresh-token-validity-in-seconds: 1210000000 # 14 d openai: