You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Srinivasa kalyan Sozhavaram (JIRA)" <ji...@apache.org> on 2019/06/17 15:58:00 UTC
[jira] [Created] (AIRFLOW-4804) Enable CORS (Cross-Origin Request
Sharing) for the API
Srinivasa kalyan Sozhavaram created AIRFLOW-4804:
----------------------------------------------------
Summary: Enable CORS (Cross-Origin Request Sharing) for the API
Key: AIRFLOW-4804
URL: https://issues.apache.org/jira/browse/AIRFLOW-4804
Project: Apache Airflow
Issue Type: Bug
Components: api
Affects Versions: 1.10.3
Reporter: Srinivasa kalyan Sozhavaram
Ability needed to call the Airflow API that are hosted in a server with SSL enabled. We get an error when the API is being integrated to a custom-built portal on HTTP:
{quote} *Access to XMLHttpRequest at 'https://<airflow_DNS>/api/experimental/dags/<dag_id>/dag_runs' from origin 'http://localhost:4200' 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.*
{quote}
Header was set with Access-Control-Allow-Origin as "***"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)