We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6faf4f1 + 7233198 commit 86f0adbCopy full SHA for 86f0adb
Gathering_be/src/main/java/com/Gathering_be/global/jwt/JwtTokenProvider.java
@@ -32,7 +32,7 @@ public JwtTokenProvider(
32
ObjectMapper objectMapper) {
33
this.key = Keys.hmacShaKeyFor(secretKey.getBytes());
34
this.tokenValidityInMilliseconds = tokenValidityInSeconds * 1000 * 30;
35
- this.refreshTokenValidityInMilliseconds = tokenValidityInSeconds * 14 * 24 * 60 * 60 * 1000;
+ this.refreshTokenValidityInMilliseconds = tokenValidityInSeconds * 14 * 24 * 60 * 1000;
36
this.objectMapper = objectMapper;
37
}
38
Gathering_be/src/main/resources/application-prod.yml
@@ -30,7 +30,7 @@ spring:
30
31
jwt:
secret: ${PROD_JWT_SECRET}
- token-validity-in-seconds: 3600
+ token-validity-in-seconds: 60
springdoc:
swagger-ui:
0 commit comments