Hi,
We’re using Google Cloud Workstations to host kind-based kubernetes clusters serving our applications.
I have been trying without success to get a CORS issue to be fixed when I have a frontend application on port 80 (https://80-w-workstation-name.cluster-name.cloudworkstations.dev) and keycloak on port 30006 (https://30006-w-workstation-name.cluster-name.cloudworkstations.dev).
Each application is accessible fine but when it comes to the authentication part from the frontend part to keycloak, it fails because of a CORS related error. See:
I have already used the following command to allow unauthenticated cors preflight requests but this doesn’t solve this issue: gcloud beta workstations configs update workstation-cponfig-name --cluster=cluster-name --region=region-name --project project-name --allow-unauthenticated-cors-preflight-requests
As far as I understand, this is because I have one service on one port trying to access another service on another port from the same workstation and there is probably Google authentication missing between the two. Is there any way to achieve this?
Kind regards,
Mickael

