From 0bb41156496e9947595ecc6ae3279e4284c69317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Thu, 15 Aug 2024 19:31:32 +0200 Subject: [PATCH] chore: add time to JWT tokens so they expire less often --- config/packages/lexik_jwt_authentication.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/lexik_jwt_authentication.yaml b/config/packages/lexik_jwt_authentication.yaml index 6c34ca2..9cfe282 100644 --- a/config/packages/lexik_jwt_authentication.yaml +++ b/config/packages/lexik_jwt_authentication.yaml @@ -2,7 +2,7 @@ lexik_jwt_authentication: secret_key: '%env(resolve:JWT_SECRET_KEY)%' public_key: '%env(resolve:JWT_PUBLIC_KEY)%' pass_phrase: '%env(JWT_PASSPHRASE)%' - token_ttl: 7200 # in seconds, default is 3600 + token_ttl: 604800 # in seconds, default is 3600 token_extractors: authorization_header: enabled: true