Skip to content
Snippets Groups Projects
Verified Commit 998307fc authored by Mark's avatar Mark
Browse files

Create oauth client via maester

Upstream issues cause this not to work but it should work with the next
release
parent 9737c69d
No related branches found
No related tags found
1 merge request!7Integration user panel
......@@ -36,9 +36,15 @@ spec:
- name: BACKEND_API_URL
value: http://{{ include "single-sign-on.fullname" . }}-userbackend/graphql
- name: OAUTH_CLIENT_ID
value: user-panel
valueFrom:
secretKeyRef:
name: {{ include "single-sign-on.fullname" . }}-oauth2client-userpanel
key: client_id
- name: OAUTH_CLIENT_SECRET
value: secret_secret
valueFrom:
secretKeyRef:
name: {{ include "single-sign-on.fullname" . }}-oauth2client-userpanel
key: client_secret
ports:
- name: userpanel
containerPort: 3000
......
apiVersion: hydra.ory.sh/v1alpha1
kind: OAuth2Client
metadata:
name: user-panel
labels:
{{ include "single-sign-on.labels" . | indent 4 }}
spec:
grantTypes: ["implicit"]
responseTypes: ["token"]
scope: "opeind profile email openappstack_roles"
redirectUris: [ "https://{{ .Values.userpanel.ingress.host }}/callback" ]
tokenEndPointAuthMethod: "client_secret_basic"
secretName: {{ include "single-sign-on.fullname" . }}-oauth2client-userpanel
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment