diff --git a/config/packages/league_oauth2_server.yaml b/config/packages/league_oauth2_server.yaml index 36d0298ef6678157d5619d511ac5e6a401ff7d4f..00f08ecf2c90673a0ff9147837a0eacc69c8c44b 100644 --- a/config/packages/league_oauth2_server.yaml +++ b/config/packages/league_oauth2_server.yaml @@ -3,14 +3,14 @@ league_oauth2_server: # Full path to the private key file. # How to generate a private key: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys - private_key: '%kernel.project_dir%/var/keys/private.key' + private_key: '%env(resolve:OAUTH_PRIVATE_KEY)%' # Passphrase of the private key, if any - private_key_passphrase: null + private_key_passphrase: '%env(OAUTH_PASSPHRASE)%' # The plain string or the ascii safe string used to create a Defuse\Crypto\Key to be used as an encryption key. # How to generate an encryption key: https://oauth2.thephpleague.com/installation/#string-password - encryption_key: jecomprendspas + encryption_key: '%env(OAUTH_ENCRYPTION_KEY)%' # The type of value of 'encryption_key' encryption_key_type: plain # One of "plain"; "defuse" @@ -49,7 +49,7 @@ league_oauth2_server: # Full path to the public key file # How to generate a public key: https://oauth2.thephpleague.com/installation/#generating-public-and-private-keys - public_key: '%kernel.project_dir%/var/keys/public.key' + public_key: '%env(resolve:OAUTH_PUBLIC_KEY)%' scopes: # Scopes that you wish to utilize in your application.