OpenBankingToolkit/openbanking-toolkit

Unable to open Sandbox analytics dashboard in the new cluster

Closed this issue · 2 comments

Description

Unable to open Sandbox analytics dashboard in the new cluster.
The UI page remains stuck loading.
Using the developer tools of chrome the messages are:

  • service.metrics.${DOMAIN}/api/user from origin analytics.${DOMAIN} 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 request resource.

This happens only when the user try access the analytics without VPN.

The browser block the request using Same Origin Policy

Zendesk Issue: 59253
Date Raised: 2021-03-22
Environment: New cluster uplifted to TREX release

To configured the header in nginx
add_header 'Access-Control-Allow-Origin' 'origin-list'

Fix.