Form Tester Fails to Load Due to CORS Configuration
Description
When a user attempts to access the ProcessFactorial Form Tester, the page may fail to load.
Scope
This issue can occur on Customer Hosted Model installations.
Known Instances
Form Tester Access
When a user navigates to the ProcessFactorial Form Tester ,the application may fail to load or be unable to communicate with the backend services.
Cause
This issue is caused by Cross-Origin Resource Sharing (CORS) restrictions on the portal backend Function App.
If the Form Tester URL is not explicitly allowed in the backend Function App’s CORS configuration, browser requests originating from the Form Tester domain will be blocked.
Resolution
To resolve the issue, update the CORS configuration for the portal backend Function App:
- Navigate to the portal backend Function App in the appropriate resource group in the Azure Portal.
- In the left-hand navigation panel, select CORS under the API section.
- Add the Form Tester URL (
https://preview.processfactorial.com) to the list of allowed origins. - Click Save to apply the changes.
This allows traffic from the specified URL to interact with the backend.