Configure l'environnement de développement complet avec Docker Compose, structure DDD 4 Bounded Contexts, et pipeline CI/CD GitHub Actions. Corrections compatibilité CI: - Symfony 8 nécessite monolog-bundle ^4.0 (la v3.x ne supporte que jusqu'à Symfony 7) - ESLint v9 nécessite flat config (eslint.config.js) - le format .eslintrc.cjs est obsolète
18 lines
486 B
YAML
18 lines
486 B
YAML
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
|
|
user_id_claim: username
|
|
clock_skew: 0
|
|
|
|
# Automatically extracts the token from cookies
|
|
token_extractors:
|
|
authorization_header:
|
|
enabled: true
|
|
prefix: Bearer
|
|
name: Authorization
|
|
cookie:
|
|
enabled: true
|
|
name: BEARER
|