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.
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.
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.