gnu-social/config/packages/trikoder_oauth2.yaml

24 lines
669 B
YAML
Raw Normal View History

2022-01-14 23:30:55 +09:00
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
2022-01-16 13:31:04 +09:00
grant_types:
authorization_code:
enable: true
2022-01-14 23:30:55 +09:00
resource_server:
public_key: '%kernel.project_dir%/var/oauth/public.key'
persistence:
doctrine: null
2022-01-16 02:16:24 +09:00
# Scopes that you wish to utilize in your application.
# This should be a simple array of strings.
scopes:
- read
- write
- follow