aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/config.yml
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-04-30 09:16:55 +0200
committerThomas Citharel <tcit@tcit.fr>2017-06-14 17:53:52 +0200
commit0f8268c93e6210d368f9dcd1900274871a9eacdf (patch)
tree251024ae114d2a14a67399ba28d02ddb6d031bad /app/config/config.yml
parentf93a3109a5f0999dbbd69131c9e5041c390120c9 (diff)
downloadwallabag-0f8268c93e6210d368f9dcd1900274871a9eacdf.tar.gz
wallabag-0f8268c93e6210d368f9dcd1900274871a9eacdf.tar.zst
wallabag-0f8268c93e6210d368f9dcd1900274871a9eacdf.zip
Add client_credentials as grant_typeoauth-changes
Therefore, username and password are no longer needed Signed-off-by: Thomas Citharel <tcit@tcit.fr> Allow to have global clients, auth through direct token or auth code and bring scopes Signed-off-by: Thomas Citharel <tcit@tcit.fr> fix review Signed-off-by: Thomas Citharel <tcit@tcit.fr> remove redirect uri requirement on specific clients add back password and depreciate it enforce state Signed-off-by: Thomas Citharel <tcit@tcit.fr> Allow apps to register themselves A handful of changes Signed-off-by: Thomas Citharel <tcit@tcit.fr> change timeout values Signed-off-by: Thomas Citharel <tcit@tcit.fr> set access_token lifetime to 1 year and double for refresh_token Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/config/config.yml')
-rw-r--r--app/config/config.yml42
1 files changed, 41 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index 2bc5e3b3..112fa012 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -35,6 +35,42 @@ framework:
35 http_method_override: true 35 http_method_override: true
36 assets: ~ 36 assets: ~
37 37
38wallabag_core:
39 version: 2.2.3
40 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
41 languages:
42 en: 'English'
43 fr: 'Français'
44 de: 'Deutsch'
45 tr: 'Türkçe'
46 fa: 'فارسی'
47 ro: 'Română'
48 pl: 'Polish'
49 da: 'Dansk'
50 es: 'Español'
51 oc: 'Occitan'
52 it: 'Italiano'
53 pt: 'Português'
54 items_on_page: 12
55 theme: material
56 language: '%locale%'
57 rss_limit: 50
58 reading_speed: 1
59 cache_lifetime: 10
60 action_mark_as_read: 1
61 list_mode: 0
62 fetching_error_message_title: 'No title found'
63 fetching_error_message: |
64 wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>.
65 api_limit_mass_actions: 10
66
67wallabag_user:
68 registration_enabled: "%fosuser_registration%"
69
70wallabag_import:
71 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
72 resource_dir: "%kernel.root_dir%/../web/uploads/import"
73
38# Twig Configuration 74# Twig Configuration
39twig: 75twig:
40 debug: "%kernel.debug%" 76 debug: "%kernel.debug%"
@@ -194,7 +230,11 @@ fos_oauth_server:
194 service: 230 service:
195 user_provider: fos_user.user_provider.username_email 231 user_provider: fos_user.user_provider.username_email
196 options: 232 options:
197 refresh_token_lifetime: 1209600 233 access_token_lifetime: 31536000
234 refresh_token_lifetime: 63072000
235 supported_scopes: read write user
236 enforce_state: true
237 auth_code_lifetime: 60
198 238
199scheb_two_factor: 239scheb_two_factor:
200 trusted_computer: 240 trusted_computer: