feat: support configuration of refresh token expiration by environment variable (#12335)
This commit is contained in:
parent
b680a85b57
commit
1fa66405c5
5 changed files with 13 additions and 1 deletions
|
|
@ -23,6 +23,9 @@ FILES_ACCESS_TIMEOUT=300
|
|||
# Access token expiration time in minutes
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES=60
|
||||
|
||||
# Refresh token expiration time in days
|
||||
REFRESH_TOKEN_EXPIRE_DAYS=30
|
||||
|
||||
# celery configuration
|
||||
CELERY_BROKER_URL=redis://:difyai123456@localhost:6379/1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue