gnu-social/config/packages/trikoder_oauth2.yaml

32 lines
888 B
YAML
Raw Normal View History

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