gnu-social/config/packages/trikoder_oauth2.yaml
Diogo Peralta Cordeiro 08e3da092b
[OAuth2] Add scopes
2022-01-22 18:49:22 +00:00

20 lines
586 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
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