| Giorgi Lekveishvili | cc56ae9 | 2023-05-31 17:50:39 +0400 | [diff] [blame] | 1 | apiVersion: hydra.ory.sh/v1alpha1 |
| 2 | kind: OAuth2Client |
| 3 | metadata: |
| 4 | name: headscale |
| 5 | namespace: {{ .Release.Namespace }} |
| 6 | spec: |
| 7 | grantTypes: |
| 8 | - authorization_code |
| 9 | responseTypes: |
| 10 | - code |
| 11 | scope: "openid profile email" |
| 12 | secretName: {{ .Values.oauth2.secretName }} |
| 13 | redirectUris: |
| Giorgi Lekveishvili | e390a14 | 2023-06-01 11:52:39 +0400 | [diff] [blame] | 14 | - https://{{ .Values.domain }}/oidc/callback |
| Giorgi Lekveishvili | cc56ae9 | 2023-05-31 17:50:39 +0400 | [diff] [blame] | 15 | hydraAdmin: |
| 16 | url: {{ .Values.oauth2.hydraAdmin }} |
| 17 | port: 80 |
| Giorgi Lekveishvili | e390a14 | 2023-06-01 11:52:39 +0400 | [diff] [blame] | 18 | endpoint: /admin/clients |
| Giorgi Lekveishvili | cc56ae9 | 2023-05-31 17:50:39 +0400 | [diff] [blame] | 19 | forwardedProto: https |