Skip to content

Commit

Permalink
fix: 토큰 만료기간 env로 관리 (#169)
Browse files Browse the repository at this point in the history
* fix: 토큰 만료기간 env로 관리

* fix: 토큰 만료기간 env로 관리

* fix: 토큰 만료기간 default 설정
  • Loading branch information
char-yb authored Jan 16, 2024
1 parent bde2d86 commit 9de4bd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/application-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ spring:
jwt:
access-token-secret: ${JWT_ACCESS_TOKEN_SECRET:}
refresh-token-secret: ${JWT_REFRESH_TOKEN_SECRET:}
access-token-expiration-time: 7200 # 2시간
refresh-token-expiration-time: 604800 # 7일
access-token-expiration-time: ${JWT_ACCESS_TOKEN_EXPIRATION_TIME:7200}
refresh-token-expiration-time: ${JWT_REFRESH_TOKEN_EXPIRATION_TIME:604800}
issuer: ${JWT_ISSUER:}

0 comments on commit 9de4bd3

Please sign in to comment.