mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: add JWT authentication
This commit is contained in:
9
config/packages/lexik_jwt_authentication.yaml
Normal file
9
config/packages/lexik_jwt_authentication.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
lexik_jwt_authentication:
|
||||
secret_key: '%env(resolve:JWT_SECRET_KEY)%'
|
||||
public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
|
||||
pass_phrase: '%env(JWT_PASSPHRASE)%'
|
||||
|
||||
api_platform:
|
||||
check_path: /api/login
|
||||
username_path: email
|
||||
password_path: security.credentials.password
|
||||
Reference in New Issue
Block a user