Open
Description
Checked for duplicates
Have you checked for duplicate issue tickets?
Yes
Describe the bug
When I deployed the unity-ui application to the emit-dev venue, the application calls the production instance of API GW and reports a CORS issue.
What did you expect?
A clear and concise description of what you expect to happen
I did not expect API GW to report a CORS error since the request is originating from a known unity domain (www.mdps.mcp.nasa.gov)
Reproducible steps
- Open your browser's dev tools,
- Navigate to https://www.mdps.mcp.nasa.gov:4443/emit/dev/dashboard (fyi, at the time of writing this ticket we were experiencing intermittent 504 issues in the emit-dev venue)
- The UI will redirect to the cognito login so you can login (again, at the time of writing this ticket, we were experiencing 504 timeouts after login)
- if you are successfully redirected back to the UI application after login, observe in the dev tools that a CORS issue is reported for the API (see screenshot)

What is your environment?
This occurred in the emit-dev venue