Skip to content

Commit

Permalink
fix: add redirect uri
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Nov 15, 2024
1 parent 4dae30f commit a4c5e49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/testkube-enterprise/profiles/values.demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ dex:
- id: testkube-enterprise
redirectURIs:
- http://localhost:8090/auth/callback
- http://localhost:38090/auth/callback
name: Testkube
secret: QWkVzs3nct6HZM5hxsPzwaZtq
additionalConfig: |
Expand Down
2 changes: 2 additions & 0 deletions charts/testkube-enterprise/templates/dex-config-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ stringData:
secret: '{{ $api.api.oauth.clientSecret }}'
redirectURIs:
- '{{ if .Values.global.domain }}https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback{{ else }}http://localhost:8090/auth/callback{{ end }}'
- '{{ if .Values.global.domain }}https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback{{ else }}http://localhost:38090/auth/callback{{ end }}'
- id: teskube-cloud-cli
name: 'Testkube Enterprise CLI'
secret: '{{ $api.api.oauth.clientSecret }}'
redirectURIs:
- '{{ if .Values.global.domain }}https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback{{ else }}http://localhost:8090/auth/callback{{ end }}'
- '{{ if .Values.global.domain }}https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback{{ else }}http://localhost:38090/auth/callback{{ end }}'
{{- with .Values.dex.configTemplate.additionalStaticClients }}
{{- toYaml . | nindent 6 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/testkube-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ dex:
# name: Testkube Cloud - localdev
# redirectURIs:
# - http://localhost:8090/auth/callback
# - http://localhost:38090/auth/callback
# secret: some-secret
# -- Additional config which will be appended to the config like `staticClients`, `staticPasswords ,`connectors`...
additionalConfig: ""
Expand Down

0 comments on commit a4c5e49

Please sign in to comment.