Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [TKC-2802] add redirect uri #237

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}'
vsukhin marked this conversation as resolved.
Show resolved Hide resolved
- 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
Loading