From 241b713dc6f3a2cff49af07bb9fd9b95cfeb7c95 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Fri, 4 Sep 2026 12:41:38 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...de24b3639ca6802e0b4f000fe2a56428f95a3.json | 83 +++++++++++++++++++ index.json | 3 +- league.oauth2-server-bundle.1.2.json | 83 +++++++++++++++++++ 4 files changed, 169 insertions(+), 2 deletions(-) create mode 100644 archived/league.oauth2-server-bundle/374de24b3639ca6802e0b4f000fe2a56428f95a3.json create mode 100644 league.oauth2-server-bundle.1.2.json diff --git a/RECIPES.md b/RECIPES.md index 243f6a7f..35580635 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -19,7 +19,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](../../../tree/main/hautelook/alice-bundle/2.2) | `alice` | | [javiereguiluz/easyadmin-bundle](https://packagist.org/packages/javiereguiluz/easyadmin-bundle) | [1.17](../../../tree/main/javiereguiluz/easyadmin-bundle/1.17) | | | [league/flysystem-bundle](https://packagist.org/packages/league/flysystem-bundle) | [1.0](../../../tree/main/league/flysystem-bundle/1.0) | | -| [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [0.11](../../../tree/main/league/oauth2-server-bundle/0.11) | `oauth-server`, `oauth2-server`, `oauth2server`, `oauthserver` | +| [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [1.2](../../../tree/main/league/oauth2-server-bundle/1.2) | `oauth-server`, `oauth2-server`, `oauth2server`, `oauthserver` | | [lexik/jwt-authentication-bundle](https://packagist.org/packages/lexik/jwt-authentication-bundle) | [2.5](../../../tree/main/lexik/jwt-authentication-bundle/2.5) | `jwt`, `jwt-auth`, `jwtauth` | | [nelmio/alice](https://packagist.org/packages/nelmio/alice) | [3.3](../../../tree/main/nelmio/alice/3.3) | | | [nelmio/cors-bundle](https://packagist.org/packages/nelmio/cors-bundle) | [1.5](../../../tree/main/nelmio/cors-bundle/1.5) | `cors` | diff --git a/archived/league.oauth2-server-bundle/374de24b3639ca6802e0b4f000fe2a56428f95a3.json b/archived/league.oauth2-server-bundle/374de24b3639ca6802e0b4f000fe2a56428f95a3.json new file mode 100644 index 00000000..0e4503a1 --- /dev/null +++ b/archived/league.oauth2-server-bundle/374de24b3639ca6802e0b4f000fe2a56428f95a3.json @@ -0,0 +1,83 @@ +{ + "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)%'", + " # Both grants are disabled by default and will be removed in 2.0. Enable them only if you need them.", + " enable_password_grant: false", + " enable_implicit_grant: false", + " resource_server:", + " public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'", + " scopes:", + " available: ['email']", + " default: ['email']", + " persistence:", + " doctrine: null", + " client:", + " # Store client secrets hashed. Set to true only to keep supporting legacy plaintext secrets.", + " allow_plaintext_secrets: false", + "", + "when@test:", + " league_oauth2_server:", + " persistence:", + " in_memory: null", + "", + " services:", + " # Use the lowest bcrypt cost to speed up client secret hashing in tests.", + " league.oauth2_server.password_hasher:", + " class: Symfony\\Component\\PasswordHasher\\Hasher\\NativePasswordHasher", + " arguments:", + " $cost: 4 # Lowest possible value for bcrypt", + "" + ], + "executable": false + }, + "config/routes/league_oauth2_server.yaml": { + "contents": [ + "league_oauth2_server:", + " resource: '@LeagueOAuth2ServerBundle/config/routes.php'", + " type: php", + "" + ], + "executable": false + } + }, + "ref": "374de24b3639ca6802e0b4f000fe2a56428f95a3" + } + } +} diff --git a/index.json b/index.json index 38c4e844..2d45fe7d 100644 --- a/index.json +++ b/index.json @@ -745,7 +745,8 @@ ], "league/oauth2-server-bundle": [ "0.4", - "0.11" + "0.11", + "1.2" ], "lexik/jwt-authentication-bundle": [ "2.3", diff --git a/league.oauth2-server-bundle.1.2.json b/league.oauth2-server-bundle.1.2.json new file mode 100644 index 00000000..0e4503a1 --- /dev/null +++ b/league.oauth2-server-bundle.1.2.json @@ -0,0 +1,83 @@ +{ + "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)%'", + " # Both grants are disabled by default and will be removed in 2.0. Enable them only if you need them.", + " enable_password_grant: false", + " enable_implicit_grant: false", + " resource_server:", + " public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%'", + " scopes:", + " available: ['email']", + " default: ['email']", + " persistence:", + " doctrine: null", + " client:", + " # Store client secrets hashed. Set to true only to keep supporting legacy plaintext secrets.", + " allow_plaintext_secrets: false", + "", + "when@test:", + " league_oauth2_server:", + " persistence:", + " in_memory: null", + "", + " services:", + " # Use the lowest bcrypt cost to speed up client secret hashing in tests.", + " league.oauth2_server.password_hasher:", + " class: Symfony\\Component\\PasswordHasher\\Hasher\\NativePasswordHasher", + " arguments:", + " $cost: 4 # Lowest possible value for bcrypt", + "" + ], + "executable": false + }, + "config/routes/league_oauth2_server.yaml": { + "contents": [ + "league_oauth2_server:", + " resource: '@LeagueOAuth2ServerBundle/config/routes.php'", + " type: php", + "" + ], + "executable": false + } + }, + "ref": "374de24b3639ca6802e0b4f000fe2a56428f95a3" + } + } +}