gnu-social/config/packages/trikoder_oauth2.yaml
Diogo Peralta Cordeiro 29f53bb698
wip5
2022-01-22 18:49:23 +00:00

24 lines
669 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
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