26 lines
781 B
YAML
26 lines
781 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: '%env(int:JWT_TOKEN_TTL)%'
|
|
remove_token_from_body_when_cookies_used: true
|
|
token_extractors:
|
|
authorization_header:
|
|
enabled: false
|
|
cookie:
|
|
enabled: true
|
|
name: BEARER
|
|
query_parameter:
|
|
enabled: false
|
|
set_cookies:
|
|
BEARER:
|
|
lifetime: '%env(int:JWT_COOKIE_TTL)%'
|
|
samesite: lax
|
|
path: /
|
|
secure: '%env(bool:JWT_COOKIE_SECURE)%'
|
|
httpOnly: true
|
|
api_platform:
|
|
check_path: /api/login_check
|
|
username_path: username
|
|
password_path: password
|