| giolekva | 95340e8 | 2021-11-08 21:36:55 +0400 | [diff] [blame] | 1 | apiVersion: hydra.ory.sh/v1alpha1 |
| 2 | kind: OAuth2Client |
| 3 | metadata: |
| 4 | name: matrix |
| 5 | namespace: {{ .Release.Namespace }} |
| 6 | spec: |
| 7 | grantTypes: |
| 8 | - authorization_code |
| 9 | responseTypes: |
| 10 | - code |
| 11 | scope: "openid profile" |
| 12 | secretName: {{ .Values.oauth2.secretName }} |
| 13 | redirectUris: |
| 14 | - https://matrix.{{ .Values.domain }}/_synapse/client/oidc/callback |
| 15 | hydraAdmin: |
| 16 | url: {{ .Values.oauth2.hydraAdmin }} |
| 17 | port: 80 |
| 18 | endpoint: /clients |
| 19 | forwardedProto: https |