]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - config/default.yaml
Refactor model utils
[github/Chocobozzz/PeerTube.git] / config / default.yaml
index 1b7c3314da8a618f74d2e998f034d1496de2c867..d4977d0037e425c92072a94840b8e022c9dab186 100644 (file)
@@ -37,6 +37,11 @@ rates_limit:
     window: 10 minutes
     max: 10
 
+oauth2:
+  token_lifetime:
+    access_token: '1 day'
+    refresh_token: '2 weeks'
+
 # Proxies to trust to get real client IP
 # If you run PeerTube just behind a local proxy (nginx), keep 'loopback'
 # If you run PeerTube behind a remote proxy, add the proxy IP address (or subnet)