chore: add time to JWT tokens so they expire less often

This commit is contained in:
Maël Gangloff
2024-08-15 19:31:32 +02:00
parent 5ab099d875
commit 0bb4115649

View File

@@ -2,7 +2,7 @@ lexik_jwt_authentication:
secret_key: '%env(resolve:JWT_SECRET_KEY)%' secret_key: '%env(resolve:JWT_SECRET_KEY)%'
public_key: '%env(resolve:JWT_PUBLIC_KEY)%' public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
pass_phrase: '%env(JWT_PASSPHRASE)%' pass_phrase: '%env(JWT_PASSPHRASE)%'
token_ttl: 7200 # in seconds, default is 3600 token_ttl: 604800 # in seconds, default is 3600
token_extractors: token_extractors:
authorization_header: authorization_header:
enabled: true enabled: true