32 lines
888 B
YAML
32 lines
888 B
YAML
trikoder_oauth2:
|
|
|
|
authorization_server:
|
|
private_key: '%kernel.project_dir%/var/oauth/private.key'
|
|
private_key_passphrase: null # Passphrase of the private key, if any
|
|
|
|
encryption_key: '%env(string:OAUTH2_ENCRYPTION_KEY)%' # (Optional) Change this
|
|
|
|
grant_types:
|
|
authorization_code:
|
|
enable: true
|
|
client_credentials:
|
|
enable: true
|
|
implicit:
|
|
enable: true
|
|
password:
|
|
enable: true
|
|
refresh_token:
|
|
enable: true
|
|
|
|
resource_server:
|
|
public_key: '%kernel.project_dir%/var/oauth/public.key'
|
|
|
|
persistence:
|
|
doctrine: null
|
|
|
|
# Scopes that you wish to utilize in your application.
|
|
# This should be a simple array of strings.
|
|
scopes:
|
|
- read
|
|
- write
|
|
- follow |