fix: update JWT authentication

This commit is contained in:
Maël Gangloff
2024-07-18 11:45:46 +02:00
parent 09120c1fb7
commit 9d88599d86
3 changed files with 13 additions and 7 deletions

View File

@@ -2,6 +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: 3600 # in seconds, default is 3600
api_platform:
check_path: /api/login