1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Angular AG Grid - Content Security Policy (CSP) Nonce

Discussão em 'Angular' iniciado por Raj, Outubro 16, 2024.

  1. Raj

    Raj Guest

    While applying CSP nonce for scripts and styles, I ran into a problem for ag-grid (https://www.ag-grid.com/). I followed approach mentioned in angular csp documentation (https://angular.dev/best-practices/security#content-security-policy). I've set the ngCspNonce attribute on the root application element. I see console errors as shown below. Nonce was working for all controls except ag-grid.

    [​IMG]

    Clicking on dom.mjs showing below script is blocked.

    [​IMG]

    Please advise how to make Content Security Policy Nonce to work for ag-grid.

    Continue reading...

Compartilhe esta Página