aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2020-04-08 09:18:17 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2020-04-08 09:18:17 +0200
commitd20a8c5fb487fbdd0723bfbd09087513062c0b3f (patch)
tree4313efbc3102fb5c931f5c01c9debfa5a15e2f32 /app/config/config.yml
parent023c8117ec6e8284ee288d5775fc9ab09eab1a2e (diff)
downloadwallabag-d20a8c5fb487fbdd0723bfbd09087513062c0b3f.tar.gz
wallabag-d20a8c5fb487fbdd0723bfbd09087513062c0b3f.tar.zst
wallabag-d20a8c5fb487fbdd0723bfbd09087513062c0b3f.zip
Add ability to define lifetime token for the API
It'll allow admin of a wallabag instance to define its own lifetime for the refresh token and the access token. The default value are the recommended one from the wallabag team.
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 0b325afe..4eea0531 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -195,7 +195,8 @@ fos_oauth_server:
195 service: 195 service:
196 user_provider: fos_user.user_provider.username_email 196 user_provider: fos_user.user_provider.username_email
197 options: 197 options:
198 refresh_token_lifetime: 1209600 198 refresh_token_lifetime: "%fos_oauth_server_refresh_token_lifetime%"
199 access_token_lifetime: "%fos_oauth_server_access_token_lifetime%"
199 200
200scheb_two_factor: 201scheb_two_factor:
201 trusted_device: 202 trusted_device: