No internet connection
  1. Home
  2. Support

How to fix sameSite cookie issue

By Mohamed Albgal @malb2020-08-31 19:56:26.307Z

On my gatsby static site, the comments iframe appears in my local environment but when deployed I get the error: "Refused to frame '' because an ancestor violates the following Content Security Policy directive: "frame-ancestors"."

Is there something I should add to my gatsby-config file. I could not find anything in the admin panel here on talkyard when logged in as admin.

  • 1 replies
  1. KajMagnus @KajMagnus2020-09-01 02:33:38.374Z

    Hmm that error message doesn't sound like a SameSite cookie problem. You have a link to a page at your website, with blog comments embedded? Then I can have a look.

    I wouldn't expect this to work right now, anyway, since HTTPS won't work with the dot in discussions.yarcenter — the HTTPS cert is for * but in * there must be no additional dots.
    Here, HTTPS would work:
    (This is something I should improve in the UX, so one cannot type extra dots)