Skip to content

Content Security Policy and CDN Scripts #1110

Closed
@ferdaarikan

Description

@ferdaarikan

We are using the Server.All package to allow our users to be able to pick their GraphQL UI from Altair, Playground and GraphiQL. We have an asp .net core application serving those UI's in relevant routes.

However, we started to get failures recently when loading/running CDN scripts. Mainly due to CSP and browser behavior changes.

I know this is not directly Server.All related but if these were standalone javascript apps I could have replaced cdn scripts with same-origin (hosted) ones such that I don't need to adjust and CSP setting.

To an extent I can adjust Content-Security-Policy on my server such that most issues are solved but I still get errors for some of the CDN scripts.

I wonder if there is a better fix to this or is anything planned or are there others experiencing these issues?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions