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

Domain is not set correctly when using no subdomain in values.yaml #70

Open
rikdewit opened this issue Dec 22, 2021 · 0 comments
Open

Comments

@rikdewit
Copy link

I'm trying to setup openstad, however I get a redirect domain not allowed error when logging in.
I found out this is because in api database under sites: allowedDomains, there should also be an entry including the www-prefix.

I get the same error when accessing the admin panel. It throws cors-errors because it wants to link to the domain including www, but the current domain name is set without it.

Is this because there is a configuration issue when not using a subdomain?
Looking at /templates/frontend/deployment.yaml.

https://github.com/Amsterdam/openstad-kubernetes/blob/4af42c0107657765ee1bc10ef27b36fc49bcc353/k8s/openstad/templates/frontend/deployment.yaml#L32

I'm noticing the www-prefix is hardcoded so it would be obvious the reference in the admin panel is always using it.
However removing this and installing again didn't fix the issue.

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

No branches or pull requests

1 participant