mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Update Flex endpoint
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_SECRET_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret, 32)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" secret_key: '%env(resolve:JWT_SECRET_KEY)%'",
|
||||
" public_key: '%env(resolve:JWT_PUBLIC_KEY)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e9481b233a11ef7e15fe055a2b21fd3ac1aa2bb7"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
"env": {
|
||||
"JWT_SECRET_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
"JWT_PASSPHRASE": "%generate(secret, 32)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
@@ -31,7 +31,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5b2157bcd5778166a5696e42f552ad36529a07a6"
|
||||
"ref": "e9481b233a11ef7e15fe055a2b21fd3ac1aa2bb7"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user