From cd3f7d761ed6a4228c1d7715e91102603217bee6 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 7 Apr 2025 05:32:33 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 1 - index.json | 3 -- league.oauth2-server-bundle.0.3.json | 71 ---------------------------- 3 files changed, 75 deletions(-) delete mode 100644 league.oauth2-server-bundle.0.3.json diff --git a/RECIPES.md b/RECIPES.md index 73f46af2..98aaff41 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -309,7 +309,6 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [kynno/smartbots-bundle](https://packagist.org/packages/kynno/smartbots-bundle) | [0.1](kynno/smartbots-bundle/0.1) | | [labymod/discord-webhook-bundle](https://packagist.org/packages/labymod/discord-webhook-bundle) | [1.0](labymod/discord-webhook-bundle/1.0) | | [lag/adminbundle](https://packagist.org/packages/lag/adminbundle) | [1.0](lag/adminbundle/1.0) | -| [league/oauth2-server-bundle](https://packagist.org/packages/league/oauth2-server-bundle) | [0.3](league/oauth2-server-bundle/0.3) | | [league/tactician-bundle](https://packagist.org/packages/league/tactician-bundle) | [1.0](league/tactician-bundle/1.0) | | [leapt/core-bundle](https://packagist.org/packages/leapt/core-bundle) | [2.2](leapt/core-bundle/2.2) | | [leapt/froala-editor-bundle](https://packagist.org/packages/leapt/froala-editor-bundle) | [1.2](leapt/froala-editor-bundle/1.2) | diff --git a/index.json b/index.json index d2315c96..1be5d821 100644 --- a/index.json +++ b/index.json @@ -979,9 +979,6 @@ "lag/adminbundle": [ "1.0" ], - "league/oauth2-server-bundle": [ - "0.3" - ], "league/tactician-bundle": [ "1.0" ], diff --git a/league.oauth2-server-bundle.0.3.json b/league.oauth2-server-bundle.0.3.json deleted file mode 100644 index bc9b75bc..00000000 --- a/league.oauth2-server-bundle.0.3.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "manifests": { - "league/oauth2-server-bundle": { - "manifest": { - "bundles": { - "League\\Bundle\\OAuth2ServerBundle\\LeagueOAuth2ServerBundle": [ - "all" - ] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - }, - "env": { - "#1": "Fallback OAuth2 encryption key", - "#2": "Please override this with a secure value: https://oauth2.thephpleague.com/installation/#string-password", - "OAUTH2_ENCRYPTION_KEY": "%generate(secret)%" - }, - "post-install-output": [ - " 1. Provide a key pair ", - " i) Generate a private/public key pair (preferably with a password): https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys", - " ii) Configure the private_key and public_key with the respective key locations", - " iii) (Optional) Set the private_key_passphrase to the private key password set in the previous step", - "", - " 2. Configure the OAuth2 encryption key ", - " i) Add the OAUTH2_ENCRYPTION_KEY env variable in .env.local (don't commit your production secrets): https://oauth2.thephpleague.com/installation/#string-password", - " ii) Configure the encryption_key with a secure encryption key: https://oauth2.thephpleague.com/installation/#string-password", - "", - " 3. Update the database ", - " i) Update the database so bundle entities can be persisted using Doctrine: bin/console doctrine:schema:update --force", - "", - " 4. Enable the authenticator security system in config/security.yaml file:", - " i) security:", - " enable_authenticator_manager: true", - "", - " 5. Read the docs ", - " i) 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: /var/oauth/private.key # Change this", - " private_key_passphrase: null # Passphrase of the private key, if any", - " encryption_key: '%env(string:OAUTH2_ENCRYPTION_KEY)%' # (Optional) Change this", - " resource_server:", - " public_key: /var/oauth/public.key # Change this", - " scopes:", - " available: [EMAIL] # Change this", - " default: [EMAIL] # Change this", - " persistence:", - " doctrine: null", - "" - ], - "executable": false - }, - "config/routes/league_oauth2.yaml": { - "contents": [ - "oauth2:", - " resource: '@LeagueOAuth2ServerBundle/Resources/config/routes.php'", - " type: php", - "" - ], - "executable": false - } - }, - "ref": "a289d3846a1ce8c58050abfadf213e65cd75bd4e" - } - } -}