diff --git a/lexik/jwt-authentication-bundle/2.5/config/packages/lexik_jwt_authentication.yaml b/lexik/jwt-authentication-bundle/2.5/config/packages/lexik_jwt_authentication.yaml new file mode 100644 index 00000000..edfb69dc --- /dev/null +++ b/lexik/jwt-authentication-bundle/2.5/config/packages/lexik_jwt_authentication.yaml @@ -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)%' diff --git a/lexik/jwt-authentication-bundle/2.5/manifest.json b/lexik/jwt-authentication-bundle/2.5/manifest.json new file mode 100644 index 00000000..9d143aa6 --- /dev/null +++ b/lexik/jwt-authentication-bundle/2.5/manifest.json @@ -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" + ] +}