Skip to content

Permit ngsw-bypass Header for Sentry Requests #47912

@Fwang36

Description

@Fwang36

Problem Statement

Angular users require the ngsw-bypass header attached to their Sentry Requests to avoid caching Sentry requests by the Angular Service worker.

Currently they are met with a CORS error of ...has been blocked by CORS policy: Request header field ngsw-bypass is not allowed by Access-Control-Allow-Headers in preflight response.

Angular Docs on this header

Solution Brainstorm

We should permit this header for Sentry Requests

Product Area

Other

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions