]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/parameters.yml.dist
Add ability to define lifetime token for the API
[github/wallabag/wallabag.git] / app / config / parameters.yml.dist
index 9948fa46fa847d7091f33c150e9bbcd3ccbc9718..92047121ec67af0b961506cb2cde56ceb76a8096 100644 (file)
@@ -46,6 +46,11 @@ parameters:
     fosuser_registration: true
     fosuser_confirmation: true
 
+    # how long the access token should live in seconds for the API
+    fos_oauth_server_access_token_lifetime: 3600
+    # how long the refresh token should life in seconds for the API
+    fos_oauth_server_refresh_token_lifetime: 1209600
+
     from_email: no-reply@wallabag.org
 
     rss_limit: 50