mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
19 lines
576 B
YAML
19 lines
576 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 # in seconds, default is 3600
|
|
token_extractors:
|
|
authorization_header:
|
|
enabled: true
|
|
cookie:
|
|
enabled: true
|
|
name: BEARER
|
|
set_cookies:
|
|
BEARER: ~
|
|
remove_token_from_body_when_cookies_used: false
|
|
api_platform:
|
|
check_path: /api/login
|
|
username_path: email
|
|
password_path: security.credentials.password
|