On-premise Constellation App Static Content Service - CORS issue / Access-Control-Allow-Origin missing?
We have deployed Pega 24.1.2 in a private, on-premise environment using containerized deployment model.
To test Constellation UI in Sales Automation Insurance, we have also deployed a local Constellation App Static Content Service.
Pega Platform and CASCS share same toplevel domain (but different subdomains) and CASCS has a valid TLS certificate.
We have also deployed recent security fix.
When accessing Constellation UI, we see many CORS errors in Browser, similar to the following:
Access to fetch at 'https://pega-constellation.tld.com/c11n-appstatic/v102/app/<resource>.json' from origin 'https://pega-env.tld.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Is there a suggested way to configure CASCS to include a "Access-Control-Allow-Origin" response header?
Do you have other tips and suggestions why our setup fails?
Maybe @NigelJohnson or @RalphBogendoerfer can help?
Thank you!
***Edited by Moderator Marissa to update Support Case details***