From efe4a626e97a3f8d0f7e86d92d2cdaf9b8fe31ce Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Sat, 15 Oct 2022 06:34:00 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...bc9b1031063fedff22d588d7cd9e578b328e3.json | 67 +++++++++++++++++++ index.json | 4 ++ league.oauth2-server-bundle.0.4.json | 2 +- 4 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 archived/league.oauth2-server-bundle/f11bc9b1031063fedff22d588d7cd9e578b328e3.json diff --git a/RECIPES.md b/RECIPES.md index 4abed14d..071ef7e2 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -16,7 +16,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [hautelook/alice-bundle](https://packagist.org/packages/hautelook/alice-bundle) | [2.2](hautelook/alice-bundle/2.2) | `alice` | | [javiereguiluz/easyadmin-bundle](https://packagist.org/packages/javiereguiluz/easyadmin-bundle) | [1.17](javiereguiluz/easyadmin-bundle/1.17) | | | [league/flysystem-bundle](https://packagist.org/packages/league/flysystem-bundle) | [1.0](league/flysystem-bundle/1.0) | | -| [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [0.4](league/oauth2-server-bundle/0.4) | | +| [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [0.4](league/oauth2-server-bundle/0.4) | `oauth-server`, `oauth2-server`, `oauth2server`, `oauthserver` | | [lexik/jwt-authentication-bundle](https://packagist.org/packages/lexik/jwt-authentication-bundle) | [2.5](lexik/jwt-authentication-bundle/2.5) | `jwt`, `jwt-auth`, `jwtauth` | | [nelmio/alice](https://packagist.org/packages/nelmio/alice) | [3.3](nelmio/alice/3.3) | | | [nelmio/cors-bundle](https://packagist.org/packages/nelmio/cors-bundle) | [1.5](nelmio/cors-bundle/1.5) | `cors` | diff --git a/archived/league.oauth2-server-bundle/f11bc9b1031063fedff22d588d7cd9e578b328e3.json b/archived/league.oauth2-server-bundle/f11bc9b1031063fedff22d588d7cd9e578b328e3.json new file mode 100644 index 00000000..8a0fc0a0 --- /dev/null +++ b/archived/league.oauth2-server-bundle/f11bc9b1031063fedff22d588d7cd9e578b328e3.json @@ -0,0 +1,67 @@ +{ + "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)%" + }, + "post-install-output": [ + " 1. Provide a key pair ", + " * Generate a private/public key pair at the locations defined in your .env file, using the value of the OAUTH_PASSPHRASE as passphrase: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys", + "", + " 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": [ + "oauth2_server:", + " resource: '@LeagueOAuth2ServerBundle/Resources/config/routes.php'", + " type: php", + "" + ], + "executable": false + } + }, + "ref": "f11bc9b1031063fedff22d588d7cd9e578b328e3" + } + } +} diff --git a/index.json b/index.json index 1b57cca7..ddc1db8f 100644 --- a/index.json +++ b/index.json @@ -197,6 +197,10 @@ "nexmo-notifier": "symfony/nexmo-notifier", "nexmonotifier": "symfony/nexmo-notifier", "notifier": "symfony/notifier", + "oauth-server": "league/oauth2-server-bundle", + "oauth2-server": "league/oauth2-server-bundle", + "oauth2server": "league/oauth2-server-bundle", + "oauthserver": "league/oauth2-server-bundle", "octopush-notifier": "symfony/octopush-notifier", "octopushnotifier": "symfony/octopush-notifier", "oh-my-smtp-mailer": "symfony/oh-my-smtp-mailer", diff --git a/league.oauth2-server-bundle.0.4.json b/league.oauth2-server-bundle.0.4.json index 4faad916..8a0fc0a0 100644 --- a/league.oauth2-server-bundle.0.4.json +++ b/league.oauth2-server-bundle.0.4.json @@ -61,7 +61,7 @@ "executable": false } }, - "ref": "d301b126eebe583d944398d47a30690b44f3fab3" + "ref": "f11bc9b1031063fedff22d588d7cd9e578b328e3" } } }