diff --git a/src/main/java/com/soongsil/CoffeeChat/service/CustomOAuth2UserService.java b/src/main/java/com/soongsil/CoffeeChat/service/CustomOAuth2UserService.java index 551d3b3..c5d5113 100644 --- a/src/main/java/com/soongsil/CoffeeChat/service/CustomOAuth2UserService.java +++ b/src/main/java/com/soongsil/CoffeeChat/service/CustomOAuth2UserService.java @@ -108,7 +108,7 @@ public String verifyGoogleToken(String accessToken) { log.info("===== Token info received ===== " + tokenInfo); if (tokenInfo != null && tokenInfo.containsKey("sub")) { String googleId = (String) tokenInfo.get("sub"); - return jwtUtil.createJwt("access", googleId, "ROLE_USER", 180000L); + return jwtUtil.createJwt("access", googleId, "ROLE_USER", 1800000000L); } else { log.error("===== Invalid token info ===== " + tokenInfo); throw new CustomException(INVALID_TOKEN.getHttpStatusCode(), INVALID_TOKEN.getErrorMessage());