Embedding dashboard with iframe does not work

Hello,

I set up a redash dashboard, generated public secret link, but when I try to embed dashboard on my wordpress site, nothing shows up, just an empty page. I have iframe plugin and it works for embedding other sites pages in my wordpress. Any suggestions what could be the problem? This is iframe code I used:

[iframe src=“[http://secret link …org_slug=default” width=“1000px” height=“800px” frameborder=“0” scrolling=“yes” align=“right”]

EDIT: Any alternative ways to embed redash dashboard via wordpress editor?

It could be a CSP issue with wordpress. Do you see errors in your network inspector?

1 Like

It says the following:

Mixed Content: The page at ‘mywebsitepage’ was loaded over HTTPS, but requested an insecure frame ‘http:/redash…slug=default’. This request has been blocked; the content must be served over HTTPS.

Is there a workaround this?

You have two choices:

  1. Add SSL to your Redash instance.
  2. Change your Wordpress site’s CSP rules
1 Like

Thank you so much for your reply! I realy do not want to mess with my website wordpress CSP rules, so I will have to figure out how to add SSL to my redash instance.