diff --git a/archived/league.oauth2-server-bundle/b40f5dd1cb1761570881520b9d3d7edae9c220cc.json b/archived/league.oauth2-server-bundle/b40f5dd1cb1761570881520b9d3d7edae9c220cc.json new file mode 100644 index 00000000..9547d70d --- /dev/null +++ b/archived/league.oauth2-server-bundle/b40f5dd1cb1761570881520b9d3d7edae9c220cc.json @@ -0,0 +1,70 @@ +{ + "manifests": { + "league/oauth2-server-bundle": { + "manifest": { + "bundles": { + "League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "OAUTH_PRIVATE_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem", + "OAUTH_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem", + "OAUTH_PASSPHRASE": "%generate(secret)%", + "OAUTH_ENCRYPTION_KEY": "%generate(secret)%" + }, + "gitignore": [ + "/%CONFIG_DIR%/jwt/*.pem" + ], + "post-install-output": [ + " 1. Provide a key pair ", + " * Generate a private/public key pair by running php bin/console league:oauth2-server:generate-keypair", + "", + " 2. Update the database schema ", + " * Update your database schema so that bundle entities can be managed by Doctrine", + "", + " 3. Read the docs ", + " * Read the documentation at https://github.com/thephpleague/oauth2-server-bundle/blob/master/docs/index.md" + ] + }, + "files": { + "config/packages/league_oauth2_server.yaml": { + "contents": [ + "league_oauth2_server:", + " authorization_server:", + " private_key: '%env(resolve:OAUTH_PRIVATE_KEY)%'", + " private_key_passphrase: '%env(resolve:OAUTH_PASSPHRASE)%'", + " encryption_key: '%env(resolve:OAUTH_ENCRYPTION_KEY)%'", + " resource_server:", + " public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'", + " scopes:", + " available: ['email']", + " default: ['email']", + " persistence:", + " doctrine: null", + "", + "when@test:", + " league_oauth2_server:", + " persistence:", + " in_memory: null", + "" + ], + "executable": false + }, + "config/routes/league_oauth2_server.yaml": { + "contents": [ + "league_oauth2_server:", + " resource: '@LeagueOAuth2ServerBundle/config/routes.php'", + " type: php", + "" + ], + "executable": false + } + }, + "ref": "b40f5dd1cb1761570881520b9d3d7edae9c220cc" + } + } +} diff --git a/league.oauth2-server-bundle.0.11.json b/league.oauth2-server-bundle.0.11.json index a0aefe8f..9547d70d 100644 --- a/league.oauth2-server-bundle.0.11.json +++ b/league.oauth2-server-bundle.0.11.json @@ -16,6 +16,9 @@ "OAUTH_PASSPHRASE": "%generate(secret)%", "OAUTH_ENCRYPTION_KEY": "%generate(secret)%" }, + "gitignore": [ + "/%CONFIG_DIR%/jwt/*.pem" + ], "post-install-output": [ " 1. Provide a key pair ", " * Generate a private/public key pair by running php bin/console league:oauth2-server:generate-keypair", @@ -61,7 +64,7 @@ "executable": false } }, - "ref": "80320e8e61b51f6965b83a7df1cc9d40bcc3fb78" + "ref": "b40f5dd1cb1761570881520b9d3d7edae9c220cc" } } }