apiVersion: hydra.ory.sh/v1alpha1 kind: OAuth2Client metadata: name: my-oauth2-client namespace: default spec: grantTypes: - client_credentials - implicit - authorization_code - refresh_token responseTypes: - id_token - code - token scope: "read write"