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(configmap): Remove condition from SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS #136

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mjasion
Copy link
Contributor

@mjasion mjasion commented Jul 21, 2023

Shouldn't we set external host, even when the Ingress is disabled @jesper7 🤔 ?

@mjasion mjasion requested a review from jesper7 July 21, 2023 18:07
@mjasion mjasion self-assigned this Jul 21, 2023
@@ -109,11 +109,7 @@ data:

SOCIAL_AUTH_REDIRECT_IS_HTTPS: "False"

{{- if .Values.global.ingress.enabled }}
SOCIAL_AUTH_ALLOWED_REDIRECT_HOSTS: "studio-ui.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.studioUi.service.port }},studio-backend.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.studioBackend.service.port }},{{ .Values.global.host }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.Values.global.host might be empty. I'm not sure that the backend can handle such a case correctly. Have you tested it?

@shcheklein
Copy link
Member

@mjasion is still relevant?

@0x2b3bfa0 0x2b3bfa0 assigned 0x2b3bfa0 and unassigned mjasion Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants