Closed heller-tobias closed 5 months ago
We face the same issue.
We also face the same issue, but not just in safari. In Chrome as well, the custom html widget fails to set an origin, resulting in CORS issues.
Hello, thanks for reaching out! We have already addressed this issue, and it will be shipped with the next release (2.26).
Bug description
The issue arises when calling the developer portal backend through a custom widget using the endpoint
/developer/apis/API_NAME?export=true&api-version=2022-04-01-preview
. While this operation functions correctly on Google Chrome, Safari users encounter a Cross-Origin Resource Sharing (CORS) error. It's essential to investigate and address this discrepancy, specifically within the context of the custom widget, to ensure proper functionality across both browsers.Reproduction steps
/developer/apis/API_NAME?export=true&api-version=2022-04-01-preview
Expected behavior
The backend should return data also for Safari.
Is your portal managed or self-hosted?
Managed
API Management service name
[e.g., apim-GaasDev-devportal-testing]
Environment
Additional context