Skip to content

[league/oauth2-server-bundle] Gitignore signature keypair #1408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2025

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Apr 27, 2025

Q A
License MIT
Doc issue/PR -

I accidentally removed them from the manifest when adding the v0.11 recipe.

@symfony-recipes-bot symfony-recipes-bot enabled auto-merge (squash) April 27, 2025 15:19
Copy link

Thanks for the PR 😍

How to test these changes in your application

  1. Define the SYMFONY_ENDPOINT environment variable:

    # On Unix-like (BSD, Linux and macOS)
    export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1408/index.json
    # On Windows
    SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1408/index.json
  2. Install the package(s) related to this recipe:

    composer req symfony/flex
    composer req 'league/oauth2-server-bundle:^0.11'
  3. Don't forget to unset the SYMFONY_ENDPOINT environment variable when done:

    # On Unix-like (BSD, Linux and macOS)
    unset SYMFONY_ENDPOINT
    # On Windows
    SET SYMFONY_ENDPOINT=

Diff between recipe versions

In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes.
I'm going keep this comment up to date with any updates of the attached patch.

league/oauth2-server-bundle

0.4 vs 0.11
diff --git a/league/oauth2-server-bundle/0.4/config/routes/league_oauth2_server.yaml b/league/oauth2-server-bundle/0.11/config/routes/league_oauth2_server.yaml
index b874e00..38a4d1b 100644
--- a/league/oauth2-server-bundle/0.4/config/routes/league_oauth2_server.yaml
+++ b/league/oauth2-server-bundle/0.11/config/routes/league_oauth2_server.yaml
@@ -1,3 +1,3 @@
-oauth2_server:
-    resource: '@LeagueOAuth2ServerBundle/Resources/config/routes.php'
+league_oauth2_server:
+    resource: '@LeagueOAuth2ServerBundle/config/routes.php'
     type: php
diff --git a/league/oauth2-server-bundle/0.4/post-install.txt b/league/oauth2-server-bundle/0.11/post-install.txt
index 2976520..1eba7a5 100644
--- a/league/oauth2-server-bundle/0.4/post-install.txt
+++ b/league/oauth2-server-bundle/0.11/post-install.txt
@@ -1,5 +1,5 @@
   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
+    * 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

@fabpot fabpot disabled auto-merge April 27, 2025 15:54
@fabpot fabpot merged commit 79f2663 into symfony:main Apr 27, 2025
1 of 2 checks passed
@chalasr chalasr deleted the oauth2-server-ignore-keys branch April 27, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants