Merge pull request #425

This commit is contained in:
symfony-flex-server[bot]
2018-06-30 07:00:36 +00:00
committed by GitHub
2 changed files with 21 additions and 0 deletions
@@ -0,0 +1,4 @@
lexik_jwt_authentication:
secret_key: '%env(resolve:JWT_SECRET_KEY)%'
public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
pass_phrase: '%env(JWT_PASSPHRASE)%'
@@ -0,0 +1,17 @@
{
"bundles": {
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
},
"aliases": ["jwt-auth"],
"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)%"
},
"gitignore": [
"/%CONFIG_DIR%/jwt/*.pem"
]
}