Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increase default refresh token lifetime

Chocobozzzb67738c6d1fb
diff --git a/config/default.yaml b/config/default.yaml
index e4a13f5721..b33871bdf8 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -69,7 +69,7 @@ rates_limit:
oauth2:
token_lifetime:
access_token: '1 day'
- refresh_token: '2 weeks'
+ refresh_token: '4 weeks'
# Proxies to trust to get real client IP
# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 3152449f16..c37b64e2da 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -67,7 +67,7 @@ rates_limit:
oauth2:
token_lifetime:
access_token: '1 day'
- refresh_token: '2 weeks'
+ refresh_token: '4 weeks'
# Proxies to trust to get real client IP
# If you run PeerTube just behind a local proxy (nginx), keep 'loopback'