trikoder/oauth2-bundle
Dotenv
# Fallback OAuth2 encryption key
# Please override this with a secure value: https://oauth2.thephpleague.com/installation/#string-password
OAUTH2_ENCRYPTION_KEY=%generate(secret)%
Generated files
config/packages/trikoder_oauth2.yaml
trikoder_oauth2:
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
persistence:
doctrine: null
config/routes/trikoder_oauth2.yaml
oauth2:
resource: '@TrikoderOAuth2Bundle/Resources/config/routes.xml'