diff --git a/trikoder/oauth2-bundle/3.0/config b/trikoder/oauth2-bundle/3.0/config new file mode 120000 index 00000000..32dff909 --- /dev/null +++ b/trikoder/oauth2-bundle/3.0/config @@ -0,0 +1 @@ +../2.0/config \ No newline at end of file diff --git a/trikoder/oauth2-bundle/3.0/manifest.json b/trikoder/oauth2-bundle/3.0/manifest.json new file mode 120000 index 00000000..46456de9 --- /dev/null +++ b/trikoder/oauth2-bundle/3.0/manifest.json @@ -0,0 +1 @@ +../2.0/manifest.json \ No newline at end of file diff --git a/trikoder/oauth2-bundle/3.0/post-install.txt b/trikoder/oauth2-bundle/3.0/post-install.txt new file mode 100644 index 00000000..6c8b9a6c --- /dev/null +++ b/trikoder/oauth2-bundle/3.0/post-install.txt @@ -0,0 +1,22 @@ + + OAuth2 Configuration + + + 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. Install a PSR 7/17 implementation + i) Require a PSR 7/17 implementation. We recommend that you use nyholm/psr7. + ii) (Optional) Choose a different implementation package: https://github.com/trikoder/oauth2-bundle/blob/v3.x/docs/psr-implementation-switching.md + + 5. Read the docs + i) Read the documentation at https://github.com/trikoder/oauth2-bundle/blob/v3.x/docs/basic-setup.md