{{- if index .Values.ocAuth.enabled }} apiVersion: hydra.ory.sh/v1alpha1 kind: OAuth2Client metadata: name: openCloudClient spec: clientId: test-client clientSecret: oc-auth-got-secret grantTypes: - implicit - refresh_token - authorization_code - client_credentials responseTypes: - id_token - token - code redirectUris: - https://myapp.example.com/callback scope: openid profile email roles tokenEndpointAuthMethod: client_secret_post postLogoutRedirectUris: -http://localhost:3000 allowedCorsOrigins: - http://localhost {{- end }}