blob: da80ddfd649e0b81dff3351f9ccc41c8e5348d9e [file] [log] [blame]
giolekva01b3d3b2021-11-09 17:48:28 +04001apiVersion: hydra.ory.sh/v1alpha1
2kind: OAuth2Client
3metadata:
4 name: {{ .Values.oauth2.clientId }}
5 namespace: {{ .Release.Namespace }}
6spec:
7 grantTypes:
8 - authorization_code
9 responseTypes:
10 - code
11 scope: "openid email profile"
12 secretName: {{ .Values.oauth2.secretName }}
13 redirectUris:
14 - https://pihole.{{ .Values.domain }}/oauth2/callback
15 hydraAdmin:
16 url: {{ .Values.oauth2.hydraAdmin }}
17 port: 80
18 endpoint: /clients
19 forwardedProto: https