From 8607e7c35229c8dca254f0d93f2db10e3b229eb0 Mon Sep 17 00:00:00 2001 From: Josip Igrec Date: Mon, 12 Aug 2019 16:40:24 +0200 Subject: [PATCH] Tweak post-install docs --- trikoder/oauth2-bundle/2.0/post-install.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/trikoder/oauth2-bundle/2.0/post-install.txt b/trikoder/oauth2-bundle/2.0/post-install.txt index 09e96ed4..58186f4e 100644 --- a/trikoder/oauth2-bundle/2.0/post-install.txt +++ b/trikoder/oauth2-bundle/2.0/post-install.txt @@ -2,24 +2,24 @@ OAuth2 Configuration - 1. + 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 + 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. Do one of the following - 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 + 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. + 3. Update the database * Update the database so bundle entities can be persisted using Doctrine: bin/console doctrine:schema:update --force - 4. + 4. Import routes * Import the routes inside your config/routes.yaml file: oauth2: resource: '@TrikoderOAuth2Bundle/Resources/config/routes.xml' - 5. + 5. Read the docs * Read the documentation at https://github.com/trikoder/oauth2-bundle/blob/master/docs/basic-setup.md