Skip to content

[Bug]: API GW is reporting CORS issues in EMIT-DEV #482

Open
@anilnatha

Description

@anilnatha

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

  1. Open your browser's dev tools,
  2. 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)
  3. 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)
  4. 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)
image

What is your environment?

This occurred in the emit-dev venue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions